mirror of https://github.com/PCSX2/pcsx2.git
Core: Few more warnings fixup.
This commit is contained in:
parent
bb494af6b0
commit
0717353069
|
@ -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[] =
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue