diff options
| author | 2016-12-15 21:05:20 -0800 | |
|---|---|---|
| committer | 2016-12-15 21:05:20 -0800 | |
| commit | 7524a55133dff50ea32e4f8c7862966bbfc4e1aa (patch) | |
| tree | cf90e10eab0574f8fa92eb6ec1303dea93f92e5b /src/core/core.cpp | |
| parent | Merge pull request #2320 from mailwl/cecd-update (diff) | |
| parent | gdbstub: Remove global variable from public interface (diff) | |
| download | yuzu-7524a55133dff50ea32e4f8c7862966bbfc4e1aa.tar.gz yuzu-7524a55133dff50ea32e4f8c7862966bbfc4e1aa.tar.xz yuzu-7524a55133dff50ea32e4f8c7862966bbfc4e1aa.zip | |
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 | |||
| 22 | 22 | ||
| 23 | /// Run the core CPU loop | 23 | /// Run the core CPU loop |
| 24 | void RunLoop(int tight_loop) { | 24 | void RunLoop(int tight_loop) { |
| 25 | if (GDBStub::g_server_enabled) { | 25 | if (GDBStub::IsServerEnabled()) { |
| 26 | GDBStub::HandlePacket(); | 26 | GDBStub::HandlePacket(); |
| 27 | 27 | ||
| 28 | // If the loop is halted and we want to step, use a tiny (1) number of instructions to | 28 | // If the loop is halted and we want to step, use a tiny (1) number of instructions to |