early-access version 2777

This commit is contained in:
pineappleEA
2022-06-13 23:17:19 +02:00
parent 44556fe877
commit 0097b9671a
23 changed files with 344 additions and 96 deletions

View File

@@ -217,10 +217,19 @@ int main(int argc, char** argv) {
[](VideoCore::LoadCallbackStage, size_t value, size_t total) {});
}
system.RegisterExitCallback([&] {
// Just exit right away.
exit(0);
});
void(system.Run());
if (system.DebuggerEnabled()) {
system.InitializeDebugger();
}
while (emu_window->IsOpen()) {
emu_window->WaitEvent();
}
system.DetachDebugger();
void(system.Pause());
system.Shutdown();