diff options
Diffstat (limited to 'test.c')
-rw-r--r-- | test.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -10,7 +10,7 @@ #include "gb.h" #define NUM_FRAMES 600 -#define SKIP_STEPS 83000000 +// #define SKIP_STEPS 1000000 #define NUM_STEPS 200000 static uint32_t @@ -131,10 +131,12 @@ test_execute_steps( gb_init(&ctx, rom_data, rom_size); fprintf(stderr, "gb context initialized\n"); +#ifdef SKIP_STEPS for (size_t i = 0; i < SKIP_STEPS; i++) { // step cpu gb_step(&ctx); } +#endif /* SKIP_STEPS */ // run cpu for (size_t i = 0; i < NUM_STEPS; i++) { |