diff --git a/src/video.c b/src/video.c index e98188a..5a0ce96 100644 --- a/src/video.c +++ b/src/video.c @@ -36,7 +36,7 @@ static sfColor *videoColorIndex[] = { &(sfColor){ 0, 0xFF, 0xFF }, &(sfColor){ 0xFF, 0xFF, 0xFF },*/ }; -static uint8_t videoMemory[0x7FFF]; +static uint8_t videoMemory[0x8000]; void writeVideo(){ @@ -55,7 +55,7 @@ void initVideo(){ videoModified = 1; videoMode = 0x01; - for (int i = 0; i < 0x7FFF; i++) videoMemory[i] = rand(); + for (int i = 0; i < 0x8000; i++) videoMemory[i] = rand(); } void updateVideo(){