mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 11:43:47 +01:00
Warning fix, delete unused code
This commit is contained in:
1 parent
c3897fef4c
commit
68a8ba856f
4 files changed
+3
-18
No files matched your search
@@ -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...
|
||||
|
||||
Reference in new issue
Block a user