From 0db7573a04ba9194be913a4716683df137b08e2d Mon Sep 17 00:00:00 2001 From: 0xmac Date: Mon, 2 Dec 2024 14:06:56 +0100 Subject: [PATCH] Fixed VRAM random value fill overhead --- src/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video.c b/src/video.c index 89e9f42..e98188a 100644 --- a/src/video.c +++ b/src/video.c @@ -55,7 +55,7 @@ void initVideo(){ videoModified = 1; videoMode = 0x01; - for (int i = 0; i < 0x8000; i++) videoMemory[i] = rand(); + for (int i = 0; i < 0x7FFF; i++) videoMemory[i] = rand(); } void updateVideo(){