mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-19 21:52:45 +00:00
Fix incorrect state after reset in multithreading.
This would change coreState from CORE_POWERUP too early. It's already done in BootDone().
This commit is contained in:
parent
b1b2c91eb3
commit
408ea88cd6
@ -178,10 +178,13 @@ void EmuScreen::sendMessage(const char *message, const char *value) {
|
||||
PSP_Shutdown();
|
||||
bootPending_ = false;
|
||||
invalid_ = true;
|
||||
host->UpdateDisassembly();
|
||||
} else if (!strcmp(message, "reset")) {
|
||||
PSP_Shutdown();
|
||||
bootPending_ = true;
|
||||
invalid_ = true;
|
||||
host->UpdateDisassembly();
|
||||
|
||||
std::string resetError;
|
||||
if (!PSP_InitStart(PSP_CoreParameter(), &resetError)) {
|
||||
ELOG("Error resetting: %s", resetError.c_str());
|
||||
@ -189,13 +192,6 @@ void EmuScreen::sendMessage(const char *message, const char *value) {
|
||||
System_SendMessage("event", "failstartgame");
|
||||
return;
|
||||
}
|
||||
#ifndef MOBILE_DEVICE
|
||||
if (g_Config.bAutoRun) {
|
||||
Core_EnableStepping(false);
|
||||
} else {
|
||||
Core_EnableStepping(true);
|
||||
}
|
||||
#endif
|
||||
} else if (!strcmp(message, "boot")) {
|
||||
const char *ext = strrchr(value, '.');
|
||||
if (!strcmp(ext, ".ppst")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user