Qt/RSX: reset gs_frame taskbar progr. when closing native progr. dialogs

I forgot that the gs_frame's taskbar progress will stay unchanged due to its persistence, unlike the msgdialog.
This commit is contained in:
Megamouse 2018-06-19 09:15:47 +02:00 committed by kd-11
parent 4419e5d838
commit 0ffaf6c1ce
5 changed files with 10 additions and 5 deletions

View file

@ -182,7 +182,7 @@ struct EmuCallbacks
std::function<void()> on_stop;
std::function<void()> on_ready;
std::function<void()> exit;
std::function<void(s32, s32)> handle_taskbar_progress;
std::function<void(s32, s32)> handle_taskbar_progress; // (type, value) type: 0 for reset, 1 for increment, 2 for set_limit
std::function<std::shared_ptr<class KeyboardHandlerBase>()> get_kb_handler;
std::function<std::shared_ptr<class MouseHandlerBase>()> get_mouse_handler;
std::function<std::shared_ptr<class pad_thread>()> get_pad_handler;