builds on PAL + rudimentary support for FG#9
builds on PAL + rudimentary support for FG#9purpuroptery wants to merge 21 commits intoPackProject:mainfrom
Conversation
purpuroptery
commented
Jan 7, 2026
- works on PAL now
- did the bare minimum possible so that you can select hole and wind in FG. i didn't change the menus or anything, the golf specific options are still there
|
just realized the mapfile path changes per region. youll want to open the right file in main, otherwise u cant see symbol names in the exception handler: // Open symbol map
+#ifdef CADDIE_REGION_NTSC_U
MapFile::GetInstance().LoadFromDVD("modules/main_NTSC_U.map",
MapFile::LINK_DYNAMIC);
+#elif CADDIE_REGION_PAL
+ MapFile::GetInstance().LoadFromDVD("modules/main_PAL.map",
+ MapFile::LINK_DYNAMIC);
+#endif |
|
pause crash can be fixed by adding this check to the start of if (mMenu == NULL || mOpenPage == NULL) {
return;
}didnt realize but it was introduced when i added that strcmp for the post-menu. |
externals/PAL.txt
Outdated
| sFlags__9RPGlfBall=0x806fdfbc | ||
|
|
||
| # Sports2/Glf/RPGlfPlayerManager | ||
| sInstance__18RPGlfPlayerManager=0x806f5b58 |
There was a problem hiding this comment.
RPGlfPlayerManager::sInstance is actually at 0x806f5b08 PAL
fixing the address fixes the B-MINUS-2 crash
there are a lot of singleton classes that do the same CreateInstance pattern so it can be hard to distinguish but u can get a good idea by looking at the size allocated by operator_new
true, adding
ok, adding |
| // Always show exception handler | ||
| static const u16 scEmptyCombo[] = {0}; | ||
| EGG::Exception::setUserCallback(scEmptyCombo); | ||
| #endif |
There was a problem hiding this comment.
could u move this below the MapFile stuff?
we dont want to waste memory loading the symbol map if we arent building the debug target