Core: Few more warnings fixup.

This commit is contained in:
lightningterror 2021-10-23 20:12:29 +02:00
parent bb494af6b0
commit 0717353069
3 changed files with 2 additions and 3 deletions

View File

@ -259,6 +259,7 @@ void Pcsx2Config::GSOptions::LoadSave(SettingsWrapper& wrap)
SettingsWrapEntry(FramesToDraw);
SettingsWrapEntry(FramesToSkip);
#ifdef PCSX2_CORE
static const char* AspectRatioNames[] =
{
"Stretch",
@ -267,7 +268,6 @@ void Pcsx2Config::GSOptions::LoadSave(SettingsWrapper& wrap)
// WARNING: array must be NULL terminated to compute it size
NULL};
#ifdef PCSX2_CORE
wrap.EnumEntry("AspectRatio", AspectRatio, AspectRatioNames, AspectRatio);
static const char* FMVAspectRatioSwitchNames[] =

View File

@ -357,7 +357,7 @@ wxString Exception::SaveStateLoadError::FormatDisplayMessage() const
//static VmStateBuffer state_buffer( L"Public Savestate Buffer" );
static const wxChar* EntryFilename_StateVersion = L"PCSX2 Savestate Version.id";
static const wxChar* EntryFilename_Screenshot = L"Screenshot.jpg";
//static const wxChar* EntryFilename_Screenshot = L"Screenshot.jpg";
static const wxChar* EntryFilename_InternalStructures = L"PCSX2 Internal Structures.dat";
struct SysState_Component

View File

@ -924,7 +924,6 @@ bool AppConfig::IsOkApplyPreset(int n, bool ignoreMTVU)
//Console.WriteLn("Applying Preset %d ...", n);
//Have some original and default values at hand to be used later.
Pcsx2Config::GSOptions original_GS = EmuOptions.GS;
Pcsx2Config::FramerateOptions original_Framerate = EmuOptions.Framerate;
Pcsx2Config::SpeedhackOptions original_SpeedHacks = EmuOptions.Speedhacks;
AppConfig default_AppConfig;