OverlayManager OK

This commit is contained in:
Aetias
2025-07-04 21:04:27 +02:00
parent fe0f15031d
commit 65a2aab1f1
5 changed files with 6 additions and 2 deletions
+1
View File
@@ -11,6 +11,7 @@ src/Main/Actor/ActorType.cpp:
.bss start:0x02069180 end:0x02069188
src/Main/System/OverlayManager.cpp:
complete
.text start:0x0202ff44 end:0x0203003c
libs/cpp/src/__register_global_object.cpp:
+2
View File
@@ -3840,10 +3840,12 @@ from:0x0202fff0 kind:thumb_call to:0x0202ff44 module:main
from:0x0202fff8 kind:load to:0x020561f4 module:main
from:0x0202fffc kind:load to:0x027e0ce0 module:dtcm
from:0x02030000 kind:load to:0x020ee698 module:overlay(0)
from:0x02030004 kind:overlay_id to:61 module:none
from:0x0203000e kind:thumb_call to:0x0202ff84 module:main
from:0x02030016 kind:thumb_call to:0x0202ff84 module:main
from:0x02030024 kind:thumb_call_arm to:0x021028a0 module:overlay(7)
from:0x0203002c kind:thumb_call to:0x0202ff84 module:main
from:0x02030034 kind:overlay_id to:7 module:none
from:0x02030038 kind:load to:0x027e0ce0 module:dtcm
from:0x02030044 kind:thumb_call_arm to:0x0202ea0c module:main
from:0x0203006c kind:thumb_call to:0x0203004c module:main
+1
View File
@@ -11,6 +11,7 @@ src/Main/Actor/ActorType.cpp:
.bss start:0x02069120 end:0x02069128
src/Main/System/OverlayManager.cpp:
complete
.text start:0x0202ff40 end:0x02030038
libs/cpp/src/__register_global_object.cpp:
+2
View File
@@ -3842,10 +3842,12 @@ from:0x0202ffec kind:thumb_call to:0x0202ff40 module:main
from:0x0202fff4 kind:load to:0x020561b0 module:main
from:0x0202fff8 kind:load to:0x027e0ce0 module:dtcm
from:0x0202fffc kind:load to:0x020ee638 module:overlay(0)
from:0x02030000 kind:overlay_id to:61 module:none
from:0x0203000a kind:thumb_call to:0x0202ff80 module:main
from:0x02030012 kind:thumb_call to:0x0202ff80 module:main
from:0x02030020 kind:thumb_call_arm to:0x02102820 module:overlay(7)
from:0x02030028 kind:thumb_call to:0x0202ff80 module:main
from:0x02030030 kind:overlay_id to:7 module:none
from:0x02030034 kind:load to:0x027e0ce0 module:dtcm
from:0x02030040 kind:thumb_call_arm to:0x0202ea08 module:main
from:0x02030068 kind:thumb_call to:0x02030048 module:main
-2
View File
@@ -52,8 +52,6 @@ THUMB void OverlayManager::Unload(OverlayIndex index) {
}
}
//! TODO: solve the .word issue with the overlay IDs
//! both functions should match otherwise
THUMB void OverlayManager::LoadGameMode(s32 mode) {
OverlayId overlayId;
GameMode *pSetup;