[GSP] Make dirty flag 1 bit
This commit is contained in:
@@ -135,9 +135,9 @@ void GPUService::requestInterrupt(GPUInterrupt type) {
|
|||||||
u8* info = &sharedMem[0x200 + screen * FBInfoSize];
|
u8* info = &sharedMem[0x200 + screen * FBInfoSize];
|
||||||
u8& dirtyFlag = info[1];
|
u8& dirtyFlag = info[1];
|
||||||
|
|
||||||
if (dirtyFlag) {
|
if (dirtyFlag & 1) {
|
||||||
// TODO: Submit buffer info here
|
// TODO: Submit buffer info here
|
||||||
dirtyFlag = 0;
|
dirtyFlag &= ~1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user