mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Fix a hang/crash when using the Windows GE debugger
This commit is contained in:
parent
4736330c55
commit
83c108836b
@ -78,7 +78,7 @@ u32 g_MemorySize;
|
||||
// Used to store the PSP model on game startup.
|
||||
u32 g_PSPModel;
|
||||
|
||||
std::mutex g_shutdownLock;
|
||||
std::recursive_mutex g_shutdownLock;
|
||||
|
||||
// We don't declare the IO region in here since its handled by other means.
|
||||
static MemoryView views[] =
|
||||
@ -316,7 +316,7 @@ void DoState(PointerWrap &p) {
|
||||
}
|
||||
|
||||
void Shutdown() {
|
||||
std::lock_guard<std::mutex> guard(g_shutdownLock);
|
||||
std::lock_guard<std::recursive_mutex> guard(g_shutdownLock);
|
||||
u32 flags = 0;
|
||||
MemoryMap_Shutdown(flags);
|
||||
base = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user