Keep only the LUT addition

This commit is contained in:
Giovanni Cocco
2024-09-26 19:15:17 +02:00
parent bff850dadd
commit 931eafd565
6 changed files with 4 additions and 26 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ std::unordered_map<void*, ConfigSetting*>& ConfigSetting::getPtrLUT() {
return lut;
}
bool ConfigSetting::perGame(void* ptr) {
return g_Config.bGameSpecific && ConfigSetting::getPtrLUT().count(ptr) > 0 && ConfigSetting::getPtrLUT()[ptr]->PerGame();
bool ConfigSetting::perGame(void *ptr) {
return g_Config.bGameSpecific && getPtrLUT().count(ptr) > 0 && getPtrLUT()[ptr]->PerGame();
}
bool ConfigSetting::Get(const Section *section) const {