mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-09-10 12:02:53 +02:00
Remove erroneous return statements from retro_run()
We need to call `video_refresh()` exactly once every time `retro_run()` is called as per the libretro docs. These return statements were preventing that from happening.
This commit is contained in:
parent
d6ede8bcc6
commit
656e81fbb6
1 changed files with 0 additions and 2 deletions
|
@ -371,12 +371,10 @@ extern "C" RETRO_API void retro_run() {
|
|||
if (sb().run<struct main>()) {
|
||||
log_printf(RETRO_LOG_INFO, "[Sandbox] Ruby terminated normally\n");
|
||||
deinit_sandbox();
|
||||
return;
|
||||
}
|
||||
} catch (SandboxException) {
|
||||
log_printf(RETRO_LOG_ERROR, "[Sandbox] Ruby threw an exception\n");
|
||||
deinit_sandbox();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue