diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2021-02-27 16:41:50 -0600 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2021-02-27 17:29:48 -0600 |
| commit | 32d584a0f5f58ff80ab9ad95ff3d1b10e30d108f (patch) | |
| tree | 61844ca761f13be9299b3f47f4b6eb0e7ba17130 /Source/Core/InputCommon/InputProfile.h | |
| parent | 158674c274228fc88cec318959d28a3661126a99 (diff) | |
InputCommon: reduce number of image loads and texture cache invalidations by only running dynamic input textures once for all controllers
Diffstat (limited to 'Source/Core/InputCommon/InputProfile.h')
| -rw-r--r-- | Source/Core/InputCommon/InputProfile.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/InputProfile.h b/Source/Core/InputCommon/InputProfile.h index 0f784d7a04..53da662870 100644 --- a/Source/Core/InputCommon/InputProfile.h +++ b/Source/Core/InputCommon/InputProfile.h @@ -45,7 +45,8 @@ private: const std::vector<std::string>& profiles, InputConfig* device_configuration); void UpdateToProfile(const std::string& profile_filename, - ControllerEmu::EmulatedController* controller); + ControllerEmu::EmulatedController* controller, + InputConfig* device_configuration); std::string GetWiimoteInputProfilesForGame(int controller_index); int m_wiimote_profile_index = 0; |
