diff options
author | Paul Duncan <pabs@pablotron.org> | 2018-06-26 18:51:44 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2018-06-26 18:51:44 -0400 |
commit | d5d0b54054f5db7cad86fc08c1a12857b2ac04ca (patch) | |
tree | 86de7598cf0251ed243479652d7c221367777474 /test.c | |
parent | e608f0d1449fe112ff1c0be2aec0ca5f8bab3232 (diff) | |
download | gb-c-d5d0b54054f5db7cad86fc08c1a12857b2ac04ca.tar.bz2 gb-c-d5d0b54054f5db7cad86fc08c1a12857b2ac04ca.zip |
s/rgb_frame/fb/, add oam_cache, fix several instructions
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 |