0x25800 -> sizeof(u16[SCREEN_HEIGHT][SCREEN_WIDTH])

This commit is contained in:
Dragorn421
2021-09-21 09:54:15 +02:00
parent 730687d5d3
commit a9a36df816
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -902,7 +902,7 @@ void Fault_CommitFB() {
} else {
fb = (u16*)osViGetNextFramebuffer();
if ((u32)fb == 0x80000000) {
fb = (u16*)((osMemSize | 0x80000000) - 0x25800);
fb = (u16*)((osMemSize | 0x80000000) - sizeof(u16[SCREEN_HEIGHT][SCREEN_WIDTH]));
}
}