diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-12-15 21:05:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-15 21:05:20 -0800 |
commit | 7524a55133dff50ea32e4f8c7862966bbfc4e1aa (patch) | |
tree | cf90e10eab0574f8fa92eb6ec1303dea93f92e5b /src/core/core.cpp | |
parent | 63e8174caaf52dbb352b2164f2b1c750bfb2b9c1 (diff) | |
parent | ba20dd9b6125551ecf2016ed7dbd61dc618fc876 (diff) |
Merge pull request #2332 from lioncash/gdb
gdbstub: Remove global variable from public interface
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r-- | src/core/core.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 49ac8be6e..6efa18159 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -22,7 +22,7 @@ std::unique_ptr<ARM_Interface> g_sys_core; ///< ARM11 system (OS) core /// Run the core CPU loop void RunLoop(int tight_loop) { - if (GDBStub::g_server_enabled) { + if (GDBStub::IsServerEnabled()) { GDBStub::HandlePacket(); // If the loop is halted and we want to step, use a tiny (1) number of instructions to |