From 2521c5c86a8261251180d61d348ccbb6e29d5cdc Mon Sep 17 00:00:00 2001 From: David Benepe Date: Thu, 8 Jul 2021 14:48:27 -0500 Subject: [PATCH] Fixed NON_MATCHING build issue. --- src/video.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/video.c b/src/video.c index 4100d0f0..8e5a268b 100644 --- a/src/video.c +++ b/src/video.c @@ -125,6 +125,8 @@ s32 get_video_width_and_height_as_s32(void) { return (gVideoFbHeights[gVideoCurrFbIndex] << 16) | gVideoFbWidths[gVideoCurrFbIndex]; } +void memory_copy(u8 *src, u8 *dst, s32 numBytes); + void init_vi_settings(void) { s32 viModeTableIndex; OSViMode *tvViMode; @@ -307,7 +309,6 @@ void swap_framebuffers(void) { #ifdef NON_MATCHING // regalloc issues -// They made their own (worse) version of memcpy, despite the fact that they already had bcopy? void memory_copy(u8 *src, u8 *dst, s32 numBytes) { s32 i; for(i = 0; i < numBytes; i++){