core/debugger: support operation in yuzu-cmd
This commit is contained in:
parent
073714a762
commit
de6c0defb3
3 changed files with 15 additions and 0 deletions
|
@ -217,7 +217,15 @@ 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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue