Warning fix, delete unused code

This commit is contained in:
Henrik Rydgård committed 2026-01-24 10:43:48 +01:00
1 parent c3897fef4c
commit 68a8ba856f
4 files changed
+3 -18

No files matched your search

-13
View File
@@ -753,19 +753,6 @@ void PSP_Shutdown(bool success) {
IncrementDebugCounter(DebugCounter::GAME_SHUTDOWN);
}
// Do not use. Currently only used from the websocket debugger
BootState PSP_Reboot(std::string *error_string) {
if (g_bootState != BootState::Complete) {
return g_bootState;
}
Core_Stop();
Core_WaitInactive();
PSP_Shutdown(true);
std::string resetError;
return PSP_Init(PSP_CoreParameter(), error_string);
}
void PSP_RunLoopWhileState() {
// We just run the CPU until we get to vblank. This will quickly sync up pretty nicely.
// The actual number of cycles doesn't matter so much here as we will break due to CORE_NEXTFRAME, most of the time hopefully...