Minor fixes, add COsContextDolphin to completed list in configure.py

This commit is contained in:
Phillip Stephens 2022-10-02 18:04:35 -07:00
parent fdbd70eea1
commit 09999a24a1
3 changed files with 8 additions and 4 deletions

View File

@ -27,6 +27,7 @@ COMPLETE_OBJECTS = [
"MetroidPrime/ScriptObjects/CScriptDebugCameraWaypoint", "MetroidPrime/ScriptObjects/CScriptDebugCameraWaypoint",
"Weapons/IWeaponRenderer", "Weapons/IWeaponRenderer",
"Kyoto/Basics/CStopwatch", "Kyoto/Basics/CStopwatch",
"Kyoto/Basics/COsContextDolphin",
"Kyoto/Basics/CSWDataDolphin", "Kyoto/Basics/CSWDataDolphin",
"Kyoto/Audio/CSfxHandle", "Kyoto/Audio/CSfxHandle",
"Kyoto/Graphics/CGX", "Kyoto/Graphics/CGX",

View File

@ -28,8 +28,10 @@ private:
}; };
class COsContext { class COsContext {
static bool mProgressiveMode;
public: public:
// TODO: Once main.cpp is matched make this private
static bool mProgressiveMode;
COsContext(bool, bool); COsContext(bool, bool);
~COsContext(); ~COsContext();

View File

@ -74,7 +74,7 @@ CInGameTweakManager* gpTweakManager;
unkptr gpDefaultFont; unkptr gpDefaultFont;
unkptr lbl_805A8C50; unkptr lbl_805A8C50;
unkptr lbl_805A8C54; unkptr lbl_805A8C54;
bool mProgressiveMode__10COsContext; bool COsContext::mProgressiveMode;
u32 sARAMMemArray[2]; u32 sARAMMemArray[2];
f32 sInfiniteLoopTime; f32 sInfiniteLoopTime;
@ -681,9 +681,10 @@ int CMain::RsMain(int argc, const char* const* argv) {
break; break;
bool needsReset = false; bool needsReset = false;
if (archSupport->GetIOWinManager().IsEmpty()) { if (archSupport->GetIOWinManager().IsEmpty()) {
// rs_log_print // rs_log_print("IOWinManager got empty. Resetting game architecture\n");
needsReset = true; needsReset = true;
} else if (CheckReset()) { } else if (CheckReset()) {
// rs_log_print("Reset pressed...\n");
needsReset = true; needsReset = true;
} }
if (needsReset) { if (needsReset) {