mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Core: Ensure exception is reset on reset.
Otherwise, we hold on and show this during stepping which is confusing.
This commit is contained in:
1 parent
9c49fba595
commit
bd99574e5b
1 file changed
+4
@@ -85,6 +85,10 @@ void Core_ListenLifecycle(CoreLifecycleFunc func) {
|
||||
}
|
||||
|
||||
void Core_NotifyLifecycle(CoreLifecycle stage) {
|
||||
if (stage == CoreLifecycle::STARTING) {
|
||||
g_exceptionInfo.type = ExceptionType::NONE;
|
||||
}
|
||||
|
||||
for (auto func : lifecycleFuncs) {
|
||||
func(stage);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user