mirror of
https://github.com/SourMesen/Mesen2.git
synced 2025-04-02 10:21:44 -04:00
Fixed an identical freeze when switching tracks in a HES file while the debugger is opened
18 lines
No EOL
324 B
C++
18 lines
No EOL
324 B
C++
#pragma once
|
|
#include "pch.h"
|
|
|
|
class Emulator;
|
|
class DebuggerRequest;
|
|
class DebugBreakHelper;
|
|
|
|
class EmulatorLock
|
|
{
|
|
private:
|
|
Emulator* _emu = nullptr;
|
|
unique_ptr<DebuggerRequest> _debugger;
|
|
unique_ptr<DebugBreakHelper> _breakHelper;
|
|
|
|
public:
|
|
EmulatorLock(Emulator* emulator, bool allowDebuggerLock);
|
|
~EmulatorLock();
|
|
}; |