forked from eden-emu/eden
Kernel: Added freeing of kernel objects on emulator shutdown.
This commit is contained in:
parent
83a4ad2885
commit
f49ac3a2d7
3 changed files with 13 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
#include "core/system.h"
|
||||
#include "core/hw/hw.h"
|
||||
#include "core/hle/hle.h"
|
||||
#include "core/hle/kernel/kernel.h"
|
||||
|
||||
#include "video_core/video_core.h"
|
||||
|
||||
|
@ -26,6 +27,7 @@ void Init(EmuWindow* emu_window) {
|
|||
HLE::Init();
|
||||
CoreTiming::Init();
|
||||
VideoCore::Init(emu_window);
|
||||
Kernel::Init();
|
||||
}
|
||||
|
||||
void RunLoopFor(int cycles) {
|
||||
|
@ -42,6 +44,7 @@ void Shutdown() {
|
|||
HLE::Shutdown();
|
||||
CoreTiming::Shutdown();
|
||||
VideoCore::Shutdown();
|
||||
Kernel::Shutdown();
|
||||
g_ctr_file_system.Shutdown();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue