diff options
| author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-11-27 19:29:59 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-27 19:29:59 -0300 |
| commit | f320fef39edb895f7dff5a2310301ad0f765fd56 (patch) | |
| tree | 285ffb3801aa773cb3537f77153a9e432390f6b8 /src/core/core.cpp | |
| parent | 5fe92fd8413961272c2da136b5c8456a9b801c6e (diff) | |
| parent | c06510376a8a7260d6b734849c8714589c8b73c6 (diff) | |
Merge pull request #5028 from lioncash/final-system
core: Eliminate remaining usages of the global system instance
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 7ca3652afd..f4bbc9ec32 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -25,7 +25,6 @@ #include "core/file_sys/sdmc_factory.h" #include "core/file_sys/vfs_concat.h" #include "core/file_sys/vfs_real.h" -#include "core/gdbstub/gdbstub.h" #include "core/hardware_interrupt_manager.h" #include "core/hle/kernel/client_port.h" #include "core/hle/kernel/kernel.h" @@ -186,11 +185,8 @@ struct System::Impl { } service_manager = std::make_shared<Service::SM::ServiceManager>(kernel); - services = std::make_unique<Service::Services>(service_manager, system); - GDBStub::DeferStart(); - - interrupt_manager = std::make_unique<Core::Hardware::InterruptManager>(system); + interrupt_manager = std::make_unique<Hardware::InterruptManager>(system); // Initialize time manager, which must happen after kernel is created time_manager.Initialize(); @@ -297,7 +293,6 @@ struct System::Impl { } // Shutdown emulation session - GDBStub::Shutdown(); services.reset(); service_manager.reset(); cheat_engine.reset(); |
