mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 07:00:43 +02:00
Seperate per-thread and per-frame state
This commit is contained in:
1 parent
43a087d554
commit
35c01038ba
36 files changed
+360
-367
No files matched your search
@@ -59,10 +59,11 @@ void SetRunningMode(int RunningMode) {
|
||||
}
|
||||
|
||||
FEXCore::Core::CPUState GetCPUState() {
|
||||
if (!ActiveCore()) {
|
||||
return FEXCore::Core::CPUState{};
|
||||
auto ret = FEXCore::Core::CPUState{};
|
||||
if (ActiveCore()) {
|
||||
FEXCore::Context::GetCPUState(s_CTX, &ret);
|
||||
}
|
||||
return FEXCore::Context::Debug::GetCPUState(s_CTX);
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool IsCoreRunning() {
|
||||
|
||||
Reference in new issue
Block a user