mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-17 03:24:19 +01:00
gsdx: use standard lock_guard instead of GSAutoLock
This commit is contained in:
1 parent
9ad5933120
commit
a75d78bd7e
6 files changed
+32
No files matched your search
@@ -853,7 +853,11 @@ EXPORT_C GSgetTitleInfo2(char* dest, size_t length)
|
||||
|
||||
if(s_gs->m_GStitleInfoBuffer[0])
|
||||
{
|
||||
#ifdef _CX11_
|
||||
std::lock_guard<std::mutex> lock(s_gs->m_pGSsetTitle_Crit);
|
||||
#else
|
||||
GSAutoLock lock(&s_gs->m_pGSsetTitle_Crit);
|
||||
#endif
|
||||
|
||||
s = format("GSdx | %s", s_gs->m_GStitleInfoBuffer);
|
||||
|
||||
|
||||
Reference in new issue
Block a user