mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 16:49:58 -06:00
Merge pull request #12117 from JosJuice/config-callback-cpu
Don't call RunAsCPUThread in config callbacks
This commit is contained in:
@ -41,6 +41,7 @@
|
||||
#include "Core/AchievementManager.h"
|
||||
#include "Core/Boot/Boot.h"
|
||||
#include "Core/BootManager.h"
|
||||
#include "Core/CPUThreadConfigCallback.h"
|
||||
#include "Core/Config/MainSettings.h"
|
||||
#include "Core/ConfigManager.h"
|
||||
#include "Core/CoreTiming.h"
|
||||
@ -511,6 +512,9 @@ static void EmuThread(std::unique_ptr<BootParameters> boot, WindowSystemInfo wsi
|
||||
DeclareAsCPUThread();
|
||||
s_frame_step = false;
|
||||
|
||||
// If settings have changed since the previous run, notify callbacks.
|
||||
CPUThreadConfigCallback::CheckForConfigChanges();
|
||||
|
||||
// Switch the window used for inputs to the render window. This way, the cursor position
|
||||
// is relative to the render window, instead of the main window.
|
||||
ASSERT(g_controller_interface.IsInit());
|
||||
|
Reference in New Issue
Block a user