summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2016-12-15 21:05:20 -0800
committerGitHub <noreply@github.com>2016-12-15 21:05:20 -0800
commit7524a55133dff50ea32e4f8c7862966bbfc4e1aa (patch)
treecf90e10eab0574f8fa92eb6ec1303dea93f92e5b /src/core/core.cpp
parent63e8174caaf52dbb352b2164f2b1c750bfb2b9c1 (diff)
parentba20dd9b6125551ecf2016ed7dbd61dc618fc876 (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.cpp2
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