mirror of https://github.com/PCSX2/pcsx2.git
clang-format: AppCoreThread.h
This commit is contained in:
parent
0dee88e805
commit
593e44ca54
|
@ -33,9 +33,9 @@ class BaseScopedCoreThread;
|
|||
|
||||
enum ScopedCoreResumeType
|
||||
{
|
||||
ScopedCore_BlockingResume
|
||||
, ScopedCore_NonblockingResume
|
||||
, ScopedCore_SkipResume
|
||||
ScopedCore_BlockingResume,
|
||||
ScopedCore_NonblockingResume,
|
||||
ScopedCore_SkipResume
|
||||
};
|
||||
|
||||
namespace GameInfo
|
||||
|
@ -96,7 +96,9 @@ public:
|
|||
SysExecEvent_CoreThreadClose* Clone() const { return new SysExecEvent_CoreThreadClose(*this); }
|
||||
|
||||
SysExecEvent_CoreThreadClose(SynchronousActionState* sync = NULL, SynchronousActionState* resume_sync = NULL, Threading::Mutex* mtx_resume = NULL)
|
||||
: BaseSysExecEvent_ScopedCore( sync, resume_sync, mtx_resume ) { }
|
||||
: BaseSysExecEvent_ScopedCore(sync, resume_sync, mtx_resume)
|
||||
{
|
||||
}
|
||||
|
||||
protected:
|
||||
void InvokeEvent();
|
||||
|
@ -114,7 +116,9 @@ public:
|
|||
SysExecEvent_CoreThreadPause* Clone() const { return new SysExecEvent_CoreThreadPause(*this); }
|
||||
|
||||
SysExecEvent_CoreThreadPause(SynchronousActionState* sync = NULL, SynchronousActionState* resume_sync = NULL, Threading::Mutex* mtx_resume = NULL)
|
||||
: BaseSysExecEvent_ScopedCore( sync, resume_sync, mtx_resume ) { }
|
||||
: BaseSysExecEvent_ScopedCore(sync, resume_sync, mtx_resume)
|
||||
{
|
||||
}
|
||||
|
||||
protected:
|
||||
void InvokeEvent();
|
||||
|
@ -171,7 +175,8 @@ protected:
|
|||
IScopedCoreThread() {}
|
||||
|
||||
public:
|
||||
virtual ~IScopedCoreThread() = default;;
|
||||
virtual ~IScopedCoreThread() = default;
|
||||
;
|
||||
virtual void AllowResume() = 0;
|
||||
virtual void DisallowResume() = 0;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue