mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-07-11 01:34:17 +02:00
Qt/Patch: Cleanup Unused headers and formatting
This commit is contained in:
committed by
lightningterror
parent
471a7203a5
commit
f5524bab1b
@@ -8,7 +8,6 @@
|
||||
#include "Settings/GameCheatSettingsWidget.h"
|
||||
#include "Settings/SettingsWindow.h"
|
||||
|
||||
#include "pcsx2/GameList.h"
|
||||
#include "pcsx2/Patch.h"
|
||||
|
||||
#include "common/HeterogeneousContainers.h"
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#include "SettingWidgetBinder.h"
|
||||
#include "Settings/SettingsWindow.h"
|
||||
|
||||
#include "pcsx2/GameList.h"
|
||||
#include "pcsx2/Patch.h"
|
||||
|
||||
#include "common/Assertions.h"
|
||||
|
||||
+1
-2
@@ -24,7 +24,6 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
#include <memory>
|
||||
#include <span>
|
||||
#include <sstream>
|
||||
#include <type_traits>
|
||||
@@ -846,7 +845,7 @@ bool Patch::ReloadPatchAffectingOptions()
|
||||
const AspectRatioType current_ar = EmuConfig.GS.AspectRatio;
|
||||
const GSInterlaceMode current_interlace = EmuConfig.GS.InterlaceMode;
|
||||
const float custom_aspect_ratio = EmuConfig.CurrentCustomAspectRatio;
|
||||
|
||||
|
||||
// This is pretty gross, but we're not using a config layer, so...
|
||||
AspectRatioType new_ar = Pcsx2Config::GSOptions::DEFAULT_ASPECT_RATIO;
|
||||
const std::string ar_value = Host::GetStringSettingValue("EmuCore/GS", "AspectRatio",
|
||||
|
||||
Reference in New Issue
Block a user