Convert Movie to a class with a static instance, and other fixes based on B3n30 feedback.
This commit is contained in:
parent
04541150b1
commit
0238e0c5e7
7 changed files with 129 additions and 81 deletions
|
@ -161,7 +161,7 @@ System::ResultStatus System::Init(EmuWindow* emu_window, u32 system_mode) {
|
|||
Service::Init();
|
||||
AudioCore::Init();
|
||||
GDBStub::Init();
|
||||
Movie::Init();
|
||||
Movie::GetInstance().Init();
|
||||
|
||||
if (!VideoCore::Init(emu_window)) {
|
||||
return ResultStatus::ErrorVideoCore;
|
||||
|
@ -187,7 +187,7 @@ void System::Shutdown() {
|
|||
perf_results.frametime * 1000.0);
|
||||
|
||||
// Shutdown emulation session
|
||||
Movie::Shutdown();
|
||||
Movie::GetInstance().Shutdown();
|
||||
GDBStub::Shutdown();
|
||||
AudioCore::Shutdown();
|
||||
VideoCore::Shutdown();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue