mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Missed a critical section.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7295 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -249,7 +249,7 @@ struct SDSP
|
||||
volatile u16 mbox[2][2];
|
||||
|
||||
// Mutex protecting the mailbox.
|
||||
std::mutex g_CriticalSection;
|
||||
//std::mutex g_CriticalSection;
|
||||
|
||||
// Accelerator / DMA / other hardware registers. Not GPRs.
|
||||
u16 ifx_regs[256];
|
||||
|
@ -96,7 +96,7 @@ void BPWritten(const BPCmd& bp)
|
||||
//}
|
||||
|
||||
// FIXME: Hangs load-state, but should fix graphic-heavy games state loading
|
||||
//s_bpCritical.Enter();
|
||||
//std::lock_guard<std::mutex> lk(s_bpCritical);
|
||||
|
||||
// BEGIN ZTP SPEEDUP HACK CHANGES
|
||||
// This hunk of code disables the usual pipeline flush for certain BP Writes
|
||||
@ -631,9 +631,6 @@ void BPWritten(const BPCmd& bp)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// FIXME: Hangs load-state, but should fix graphic-heavy games state loading
|
||||
//s_bpCritical.Leave();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user