Fixed VRAM Size
This commit is contained in:
parent
e8b5503595
commit
d932a248c3
@ -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(){
|
||||
|
Loading…
Reference in New Issue
Block a user