void AppConfig::FramerateOptions::LoadSave( IniInterface& ini ) { ScopedIniGroup path( ini, L"Framerate" ); IniEntry( NominalScalar ); IniEntry( TurboScalar ); IniEntry( SlomoScalar ); IniEntry( SkipOnLimit ); IniEntry( SkipOnTurbo ); }
void TraceLogFilters::LoadSave( IniInterface& ini ) { ScopedIniGroup path( ini, L"TraceLog" ); IniEntry( Enabled ); // Retaining backwards compat of the trace log enablers isn't really important, and // doing each one by hand would be murder. So let's cheat and just save it as an int: IniEntry( EE.bitset ); IniEntry( IOP.bitset ); }
void AppConfig::UiTemplateOptions::LoadSave(IniInterface& ini) { ScopedIniGroup path(ini, L"UiTemplates"); IniEntry(LimiterUnlimited); IniEntry(LimiterTurbo); IniEntry(LimiterSlowmo); IniEntry(LimiterNormal); IniEntry(OutputFrame); IniEntry(OutputField); IniEntry(OutputProgressive); IniEntry(OutputInterlaced); IniEntry(Paused); IniEntry(TitleTemplate); }
void AppConfig::ConsoleLogOptions::LoadSave( IniInterface& ini, const wxChar* logger ) { ScopedIniGroup path( ini, logger ); IniEntry( Visible ); IniEntry( AutoDock ); IniEntry( DisplayPosition ); IniEntry( DisplaySize ); IniEntry( FontSize ); IniEntry( Theme ); }
void AppConfig::GSWindowOptions::LoadSave( IniInterface& ini ) { ScopedIniGroup path( ini, L"GSWindow" ); IniEntry( CloseOnEsc ); IniEntry( DefaultToFullscreen ); IniEntry( AlwaysHideMouse ); IniEntry( DisableResizeBorders ); IniEntry( DisableScreenSaver ); IniEntry( WindowSize ); IniEntry( WindowPos ); IniEntry( IsMaximized ); IniEntry( IsFullscreen ); IniEntry( IsToggleFullscreenOnDoubleClick ); static const wxChar* AspectRatioNames[] = { L"Stretch", L"4:3", L"16:9", // WARNING: array must be NULL terminated to compute it size NULL }; ini.EnumEntry( L"AspectRatio", AspectRatio, AspectRatioNames, AspectRatio ); IniEntry( Zoom ); if( ini.IsLoading() ) SanityCheck(); }
void AppConfig::LoadSaveRootItems( IniInterface& ini ) { IniEntry( MainGuiPosition ); IniEntry( SysSettingsTabName ); IniEntry( McdSettingsTabName ); IniEntry( ComponentsTabName ); IniEntry( AppSettingsTabName ); IniEntry( GameDatabaseTabName ); ini.EnumEntry( L"LanguageId", LanguageId, NULL, LanguageId ); IniEntry( LanguageCode ); IniEntry( RecentIsoCount ); IniEntry( GzipIsoIndexTemplate ); IniEntry( DeskTheme ); IniEntry( Listbook_ImageSize ); IniEntry( Toolbar_ImageSize ); IniEntry( Toolbar_ShowLabels ); wxFileName res(CurrentIso); ini.Entry( L"CurrentIso", res, res, ini.IsLoading() || IsPortable() ); CurrentIso = res.GetFullPath(); IniEntry( CurrentELF ); IniEntry( EnableSpeedHacks ); IniEntry( EnableGameFixes ); IniEntry( EnablePresets ); IniEntry( PresetIndex ); #ifdef __WXMSW__ IniEntry( McdCompressNTFS ); #endif ini.EnumEntry( L"CdvdSource", CdvdSource, CDVD_SourceLabels, CdvdSource ); }
void Pcsx2Config::GSOptions::LoadSave( IniInterface& ini ) { ScopedIniGroup path( ini, L"GS" ); IniEntry( SynchronousMTGS ); IniEntry( DisableOutput ); IniEntry( VsyncQueueSize ); IniEntry( FrameLimitEnable ); IniEntry( FrameSkipEnable ); IniEntry( VsyncEnable ); IniEntry( ManagedVsync ); IniEntry( LimitScalar ); IniEntry( FramerateNTSC ); IniEntry( FrameratePAL ); // WARNING: array must be NULL terminated to compute it size static const wxChar * const ntsc_pal_str[3] = { L"ntsc", L"pal", NULL }; ini.EnumEntry( L"DefaultRegionMode", DefaultRegionMode, ntsc_pal_str, DefaultRegionMode ); IniEntry( FramesToDraw ); IniEntry( FramesToSkip ); }