/* Copyright 2021 flyinghead This file is part of Flycast. Flycast is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. Flycast is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Flycast. If not, see . */ #include "cfg/option.h" #include "libretro_core_option_defines.h" namespace config { // Dynarec Option DynarecEnabled("", true); Option DynarecIdleSkip("", true); Option DynarecSafeMode(CORE_OPTION_NAME "_div_matching"); // General Option Cable("", 3); // TV Composite Option Region(CORE_OPTION_NAME "_region", 1); // USA Option Broadcast(CORE_OPTION_NAME "_broadcast", 0); // NTSC Option Language(CORE_OPTION_NAME "_language", 1); // English Option FullMMU(""); Option ForceWindowsCE(CORE_OPTION_NAME "_force_wince"); Option AutoLoadState(""); Option AutoSaveState(""); Option SavestateSlot(""); // Sound Option DSPEnabled(CORE_OPTION_NAME "_enable_dsp", false); #if HOST_CPU == CPU_ARM Option AudioBufferSize("", 5644); // 128 ms #else Option AudioBufferSize("", 2822); // 64 ms #endif Option AutoLatency(""); OptionString AudioBackend("", "auto"); // Rendering RendererOption RendererType; Option UseMipmaps(CORE_OPTION_NAME "_mipmapping", true); Option Widescreen(CORE_OPTION_NAME "_widescreen_hack"); Option SuperWidescreen(""); Option ShowFPS(""); Option RenderToTextureBuffer(CORE_OPTION_NAME "_enable_rttb"); Option TranslucentPolygonDepthMask(""); Option ModifierVolumes(CORE_OPTION_NAME "_volume_modifier_enable", true); Option TextureUpscale(CORE_OPTION_NAME "_texupscale", 1); Option MaxFilteredTextureSize(CORE_OPTION_NAME "_texupscale_max_filtered_texture_size", 256); Option ExtraDepthScale("", 1.f); Option CustomTextures(CORE_OPTION_NAME "_custom_textures"); Option DumpTextures(CORE_OPTION_NAME "_dump_textures"); Option ScreenStretching("", 100); Option Fog(CORE_OPTION_NAME "_fog", true); Option FloatVMUs(""); Option Rotate90(""); Option PerStripSorting("rend.PerStripSorting"); Option DelayFrameSwapping(CORE_OPTION_NAME "_delay_frame_swapping"); Option WidescreenGameHacks(CORE_OPTION_NAME "_widescreen_cheats"); std::array, 4> CrosshairColor { Option(""), Option(""), Option(""), Option(""), }; Option SkipFrame(CORE_OPTION_NAME "_frame_skipping"); Option MaxThreads("", 3); Option AutoSkipFrame(CORE_OPTION_NAME "_auto_skip_frame", 0); Option RenderResolution("", 480); Option VSync("", true); Option ThreadedRendering(CORE_OPTION_NAME "_threaded_rendering", true); Option AnisotropicFiltering(CORE_OPTION_NAME "_anisotropic_filtering"); Option PowerVR2Filter(CORE_OPTION_NAME "_pvr2_filtering"); Option PixelBufferSize("", 512 * 1024 * 1024); // Misc Option SerialConsole(""); Option SerialPTY(""); Option UseReios(CORE_OPTION_NAME "_hle_bios"); Option OpenGlChecks("", false); Option FastGDRomLoad(CORE_OPTION_NAME "_gdrom_fast_loading", false); //Option, false> ContentPath(""); //Option HideLegacyNaomiRoms("", true); // Network Option NetworkEnable("", false); Option ActAsServer("", false); OptionString DNS("", "46.101.91.123"); OptionString NetworkServer("", ""); Option EmulateBBA("", false); // TODO Option GGPOEnable("", false); // Maple Option MouseSensitivity("", 100); Option VirtualGamepadVibration("", 20); std::array, 4> MapleMainDevices { Option("", MDT_None), Option("", MDT_None), Option("", MDT_None), Option("", MDT_None), }; std::array, 2>, 4> MapleExpansionDevices { Option("", MDT_None), Option("", MDT_None), Option("", MDT_None), Option("", MDT_None), Option("", MDT_None), Option("", MDT_None), Option("", MDT_None), Option("", MDT_None), }; } // namespace config