diff options
Diffstat (limited to 'test.c')
-rw-r--r-- | test.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -61,7 +61,7 @@ load( } // buffer for rendered frames -static uint8_t frames[NUM_FRAMES * GB_FRAME_SIZE]; +static uint8_t frames[NUM_FRAMES * GB_FB_SIZE]; static void on_set_rom_bank( @@ -193,7 +193,7 @@ test_render_frames( gb_frame(&ctx); // copy frame to buffer - memcpy(frames + GB_FRAME_SIZE * j, gb_get_rgb_frame(&ctx), GB_FRAME_SIZE); + memcpy(frames + GB_FB_SIZE * j, gb_get_frame(&ctx), GB_FB_SIZE); } // save png |