summaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test.c')
-rw-r--r--test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.c b/test.c
index 5900cf7..e2c66f0 100644
--- a/test.c
+++ b/test.c
@@ -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