Created
November 19, 2017 18:58
-
-
Save Subv/8abb31c9859ab8711ec8385dca4736e1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/core/core.cpp b/src/core/core.cpp | |
| index 41a97213..268d4870 100644 | |
| --- a/src/core/core.cpp | |
| +++ b/src/core/core.cpp | |
| @@ -122,7 +122,8 @@ System::ResultStatus System::Load(EmuWindow* emu_window, const std::string& file | |
| } | |
| void System::PrepareReschedule() { | |
| - cpu_core->PrepareReschedule(); | |
| + if (cpu_core) | |
| + cpu_core->PrepareReschedule(); | |
| reschedule_pending = true; | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment