From 19814d68c10f9ab3115aa4205d5c0b82a31099e0 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Wed, 20 Dec 2017 18:47:00 +0000 Subject: [PATCH] gdbstub: Correct typo Constructing and destructing a Core::System instance for the GetInstance() call isn't the smartest thing to do. --- src/core/gdbstub/gdbstub.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/gdbstub/gdbstub.cpp b/src/core/gdbstub/gdbstub.cpp index 68704e72e5..f90836c237 100644 --- a/src/core/gdbstub/gdbstub.cpp +++ b/src/core/gdbstub/gdbstub.cpp @@ -908,7 +908,7 @@ void ToggleServer(bool status) { server_enabled = status; // Start server - if (!IsConnected() && Core::System().GetInstance().IsPoweredOn()) { + if (!IsConnected() && Core::System::GetInstance().IsPoweredOn()) { Init(); } } else {