mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-01-31 01:15:24 +01:00
Implemented ELF loading! :D
Renamed a bunch of functions/methods in the Threading namespace that have been bugging me for a while. (MutexLock is renamed to Mutex, Lock() is renamed to Aquire(), etc) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2102 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
@@ -72,7 +72,7 @@ protected:
|
||||
|
||||
void OnStart()
|
||||
{
|
||||
if( !state_buffer_lock.TryLock() )
|
||||
if( !state_buffer_lock.TryAquire() )
|
||||
throw Exception::CancelEvent( m_name + L"request ignored: state copy buffer is already locked!" );
|
||||
|
||||
_parent::OnStart();
|
||||
@@ -429,7 +429,7 @@ void StateCopy_ThawFromMem()
|
||||
|
||||
void State_ThawFromMem_Blocking()
|
||||
{
|
||||
if( !state_buffer_lock.TryLock() )
|
||||
if( !state_buffer_lock.TryAquire() )
|
||||
|
||||
memLoadingState( state_buffer ).FreezeAll();
|
||||
state_buffer_lock.Release();
|
||||
|
||||
Reference in New Issue
Block a user