mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-09-11 04:46:24 -05:00
Core: SetOnStoppedCallback -> SetOnStateChangedCallback
This commit is contained in:
@@ -530,8 +530,9 @@ void CFrame::InitializeCoreCallbacks()
|
||||
});
|
||||
|
||||
// Warning: this gets called from the EmuThread
|
||||
Core::SetOnStoppedCallback([this] {
|
||||
AddPendingEvent(wxCommandEvent{wxEVT_HOST_COMMAND, IDM_STOPPED});
|
||||
Core::SetOnStateChangedCallback([this](Core::State state) {
|
||||
if (state == Core::State::Uninitialized)
|
||||
AddPendingEvent(wxCommandEvent{wxEVT_HOST_COMMAND, IDM_STOPPED});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user