mirror of
https://github.com/zeldaret/oot.git
synced 2025-01-14 20:27:13 +00:00
0x25800
-> sizeof(u16[SCREEN_HEIGHT][SCREEN_WIDTH])
This commit is contained in:
parent
730687d5d3
commit
a9a36df816
2 changed files with 2 additions and 2 deletions
|
@ -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]));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -302,5 +302,5 @@ void FaultDrawer_WritebackFBDCache() {
|
|||
|
||||
void FaultDrawer_SetDefault() {
|
||||
bcopy(&sFaultDrawerDefault, &sFaultDrawerStruct, sizeof(FaultDrawer));
|
||||
sFaultDrawerStruct.fb = (u16*)((osMemSize | 0x80000000) - 0x25800);
|
||||
sFaultDrawerStruct.fb = (u16*)((osMemSize | 0x80000000) - sizeof(u16[SCREEN_HEIGHT][SCREEN_WIDTH]));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue