Fixed VRAM Size

This commit is contained in:
0xmac 2024-12-12 13:23:30 +01:00
parent e8b5503595
commit d932a248c3

View File

@ -36,7 +36,7 @@ static sfColor *videoColorIndex[] = {
&(sfColor){ 0, 0xFF, 0xFF }, &(sfColor){ 0, 0xFF, 0xFF },
&(sfColor){ 0xFF, 0xFF, 0xFF },*/ &(sfColor){ 0xFF, 0xFF, 0xFF },*/
}; };
static uint8_t videoMemory[0x7FFF]; static uint8_t videoMemory[0x8000];
void writeVideo(){ void writeVideo(){
@ -55,7 +55,7 @@ void initVideo(){
videoModified = 1; videoModified = 1;
videoMode = 0x01; videoMode = 0x01;
for (int i = 0; i < 0x7FFF; i++) videoMemory[i] = rand(); for (int i = 0; i < 0x8000; i++) videoMemory[i] = rand();
} }
void updateVideo(){ void updateVideo(){