Cleanup a lot of the bootup state management.

This commit is contained in:
Henrik Rydgård
2025-03-30 14:02:29 +02:00
parent e6ea158dcc
commit 088a02bfdb
30 changed files with 239 additions and 257 deletions
+1 -1
View File
@@ -313,7 +313,7 @@ bool Init() {
}
void Reinit() {
_assert_msg_(PSP_IsInited(), "Cannot reinit during startup/shutdown");
_assert_msg_(PSP_GetBootState() == BootState::Complete, "Cannot reinit during startup/shutdown");
Core_NotifyLifecycle(CoreLifecycle::MEMORY_REINITING);
Shutdown();
Init();