Controller: Allow !compatsettings to always start in analog mode

This commit is contained in:
Stenzek 2024-12-12 17:42:33 +10:00
parent 99f133223c
commit 5577328f35
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

View File

@ -274,6 +274,9 @@ bool Controller::InCircularDeadzone(float deadzone, float pos_x, float pos_y)
bool Controller::CanStartInAnalogMode(ControllerType ctype)
{
if (!g_settings.apply_compatibility_settings)
return true;
const GameDatabase::Entry* dbentry = System::GetGameDatabaseEntry();
if (!dbentry)
return false;