Core: Fixed a crash and removed some unused variables.

ARM_Disasm only has static methods, so there's no need to have an instance of it.
This commit is contained in:
Subv 2015-01-08 21:48:18 -05:00
parent 0d0d6ef31a
commit 40c1439c34
2 changed files with 2 additions and 8 deletions

View file

@ -21,11 +21,11 @@ void UpdateState(State state) {
void Init(EmuWindow* emu_window) {
Core::Init();
CoreTiming::Init();
Memory::Init();
HW::Init();
Kernel::Init();
HLE::Init();
CoreTiming::Init();
VideoCore::Init(emu_window);
}
@ -38,11 +38,11 @@ void RunLoopUntil(u64 global_cycles) {
void Shutdown() {
VideoCore::Shutdown();
CoreTiming::Shutdown();
HLE::Shutdown();
Kernel::Shutdown();
HW::Shutdown();
Memory::Shutdown();
CoreTiming::Shutdown();
Core::Shutdown();
}