diff --git a/Source/Core/Core/PrimeHack/Mods/ElfModLoader.cpp b/Source/Core/Core/PrimeHack/Mods/ElfModLoader.cpp index 03faac6e98af..f33280700760 100644 --- a/Source/Core/Core/PrimeHack/Mods/ElfModLoader.cpp +++ b/Source/Core/Core/PrimeHack/Mods/ElfModLoader.cpp @@ -245,16 +245,16 @@ void ElfModLoader::load_presets(std::string const& path) { case CVarType::INT16: var_it->second.value = static_cast(strtoul(var_val.c_str(), nullptr, 10)); case CVarType::INT32: - var_it->second.value = strtoul(var_val.c_str(), nullptr, 10); + var_it->second.value = static_cast(strtoul(var_val.c_str(), nullptr, 10)); break; case CVarType::INT64: - var_it->second.value = strtoull(var_val.c_str(), nullptr, 10); + var_it->second.value = static_cast(strtoull(var_val.c_str(), nullptr, 10)); break; case CVarType::FLOAT32: - var_it->second.value = strtof(var_val.c_str(), nullptr); + var_it->second.value = static_cast(strtof(var_val.c_str(), nullptr)); break; case CVarType::FLOAT64: - var_it->second.value = strtod(var_val.c_str(), nullptr); + var_it->second.value = static_cast(strtod(var_val.c_str(), nullptr)); break; } } diff --git a/Source/Core/Core/PrimeHack/PrimeMod.cpp b/Source/Core/Core/PrimeHack/PrimeMod.cpp index e51a821241ea..37eec75260b0 100644 --- a/Source/Core/Core/PrimeHack/PrimeMod.cpp +++ b/Source/Core/Core/PrimeHack/PrimeMod.cpp @@ -74,7 +74,6 @@ void PrimeMod::set_state(ModState new_state) { } void PrimeMod::set_state_no_notify(ModState new_state) { - ModState original = this->state; this->state = new_state; } diff --git a/Source/Core/DolphinLib.props b/Source/Core/DolphinLib.props index 687dd8285ab1..28e7f7f63cc0 100644 --- a/Source/Core/DolphinLib.props +++ b/Source/Core/DolphinLib.props @@ -1094,6 +1094,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -1143,6 +1166,8 @@ + + @@ -1166,11 +1191,13 @@ + + diff --git a/Source/Core/DolphinQt/CVarsWindow.cpp b/Source/Core/DolphinQt/CVarsWindow.cpp index 9b19b8177953..b0bc1aa4668a 100644 --- a/Source/Core/DolphinQt/CVarsWindow.cpp +++ b/Source/Core/DolphinQt/CVarsWindow.cpp @@ -25,7 +25,7 @@ void CVarListModel::get_column_widths(QFont const& font, std::array(j), static_cast(i))); #if QT_VERSION >= 0x050b00 col_size = std::max(col_size, fm.horizontalAdvance(text.toString())); #else diff --git a/Source/Core/DolphinQt/DolphinQt.vcxproj b/Source/Core/DolphinQt/DolphinQt.vcxproj index b16a5396d0e0..ce86625ea705 100644 --- a/Source/Core/DolphinQt/DolphinQt.vcxproj +++ b/Source/Core/DolphinQt/DolphinQt.vcxproj @@ -87,9 +87,11 @@ + + @@ -108,6 +110,7 @@ + @@ -118,7 +121,11 @@ - + + + + + @@ -177,6 +184,7 @@ + Create @@ -298,9 +306,11 @@ + + @@ -327,6 +337,9 @@ + + + @@ -414,6 +427,7 @@ +