mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06: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