2017-08-03 16:55:43 +08:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "Common/Config/Config.h"
|
|
|
|
|
2018-06-15 08:11:18 -04:00
|
|
|
namespace PowerPC
|
|
|
|
{
|
|
|
|
enum class CPUCore;
|
|
|
|
}
|
|
|
|
|
2017-08-03 16:55:43 +08:00
|
|
|
namespace Config
|
|
|
|
{
|
|
|
|
// Main.Core
|
|
|
|
|
2018-06-15 08:11:18 -04:00
|
|
|
extern const ConfigInfo<PowerPC::CPUCore> MAIN_CPU_CORE;
|
2018-07-08 21:26:34 +02:00
|
|
|
extern const ConfigInfo<bool> MAIN_JIT_FOLLOW_BRANCH;
|
2017-08-03 16:55:43 +08:00
|
|
|
extern const ConfigInfo<bool> MAIN_FASTMEM;
|
|
|
|
// Should really be in the DSP section, but we're kind of stuck with bad decisions made in the past.
|
|
|
|
extern const ConfigInfo<bool> MAIN_DSP_HLE;
|
|
|
|
extern const ConfigInfo<int> MAIN_TIMING_VARIANCE;
|
|
|
|
extern const ConfigInfo<bool> MAIN_CPU_THREAD;
|
|
|
|
extern const ConfigInfo<bool> MAIN_SYNC_ON_SKIP_IDLE;
|
|
|
|
extern const ConfigInfo<std::string> MAIN_DEFAULT_ISO;
|
|
|
|
extern const ConfigInfo<bool> MAIN_ENABLE_CHEATS;
|
|
|
|
extern const ConfigInfo<int> MAIN_GC_LANGUAGE;
|
|
|
|
extern const ConfigInfo<bool> MAIN_OVERRIDE_GC_LANGUAGE;
|
|
|
|
extern const ConfigInfo<bool> MAIN_DPL2_DECODER;
|
|
|
|
extern const ConfigInfo<int> MAIN_AUDIO_LATENCY;
|
|
|
|
extern const ConfigInfo<bool> MAIN_AUDIO_STRETCH;
|
|
|
|
extern const ConfigInfo<int> MAIN_AUDIO_STRETCH_LATENCY;
|
|
|
|
extern const ConfigInfo<std::string> MAIN_MEMCARD_A_PATH;
|
|
|
|
extern const ConfigInfo<std::string> MAIN_MEMCARD_B_PATH;
|
|
|
|
extern const ConfigInfo<std::string> MAIN_AGP_CART_A_PATH;
|
|
|
|
extern const ConfigInfo<std::string> MAIN_AGP_CART_B_PATH;
|
|
|
|
extern const ConfigInfo<int> MAIN_SLOT_A;
|
|
|
|
extern const ConfigInfo<int> MAIN_SLOT_B;
|
|
|
|
extern const ConfigInfo<int> MAIN_SERIAL_PORT_1;
|
|
|
|
extern const ConfigInfo<std::string> MAIN_BBA_MAC;
|
|
|
|
ConfigInfo<u32> GetInfoForSIDevice(u32 channel);
|
|
|
|
ConfigInfo<bool> GetInfoForAdapterRumble(u32 channel);
|
|
|
|
ConfigInfo<bool> GetInfoForSimulateKonga(u32 channel);
|
|
|
|
extern const ConfigInfo<bool> MAIN_WII_SD_CARD;
|
2017-10-29 19:11:15 +00:00
|
|
|
extern const ConfigInfo<bool> MAIN_WII_SD_CARD_WRITABLE;
|
2017-08-03 16:55:43 +08:00
|
|
|
extern const ConfigInfo<bool> MAIN_WII_KEYBOARD;
|
|
|
|
extern const ConfigInfo<bool> MAIN_WIIMOTE_CONTINUOUS_SCANNING;
|
|
|
|
extern const ConfigInfo<bool> MAIN_WIIMOTE_ENABLE_SPEAKER;
|
|
|
|
extern const ConfigInfo<bool> MAIN_RUN_COMPARE_SERVER;
|
|
|
|
extern const ConfigInfo<bool> MAIN_RUN_COMPARE_CLIENT;
|
|
|
|
extern const ConfigInfo<bool> MAIN_MMU;
|
|
|
|
extern const ConfigInfo<int> MAIN_BB_DUMP_PORT;
|
|
|
|
extern const ConfigInfo<bool> MAIN_SYNC_GPU;
|
|
|
|
extern const ConfigInfo<int> MAIN_SYNC_GPU_MAX_DISTANCE;
|
|
|
|
extern const ConfigInfo<int> MAIN_SYNC_GPU_MIN_DISTANCE;
|
|
|
|
extern const ConfigInfo<float> MAIN_SYNC_GPU_OVERCLOCK;
|
|
|
|
extern const ConfigInfo<bool> MAIN_FAST_DISC_SPEED;
|
|
|
|
extern const ConfigInfo<bool> MAIN_DCBZ;
|
|
|
|
extern const ConfigInfo<bool> MAIN_LOW_DCBZ_HACK;
|
|
|
|
extern const ConfigInfo<bool> MAIN_FPRF;
|
|
|
|
extern const ConfigInfo<bool> MAIN_ACCURATE_NANS;
|
|
|
|
extern const ConfigInfo<float> MAIN_EMULATION_SPEED;
|
|
|
|
extern const ConfigInfo<float> MAIN_OVERCLOCK;
|
|
|
|
extern const ConfigInfo<bool> MAIN_OVERCLOCK_ENABLE;
|
|
|
|
// Should really be part of System::GFX, but again, we're stuck with past mistakes.
|
|
|
|
extern const ConfigInfo<std::string> MAIN_GFX_BACKEND;
|
|
|
|
extern const ConfigInfo<std::string> MAIN_GPU_DETERMINISM_MODE;
|
|
|
|
extern const ConfigInfo<std::string> MAIN_PERF_MAP_DIR;
|
|
|
|
extern const ConfigInfo<bool> MAIN_CUSTOM_RTC_ENABLE;
|
|
|
|
extern const ConfigInfo<u32> MAIN_CUSTOM_RTC_VALUE;
|
|
|
|
extern const ConfigInfo<bool> MAIN_ENABLE_SIGNATURE_CHECKS;
|
2018-06-29 16:48:30 -04:00
|
|
|
extern const ConfigInfo<bool> MAIN_REDUCE_POLLING_RATE;
|
2017-08-03 16:55:43 +08:00
|
|
|
|
|
|
|
// Main.DSP
|
|
|
|
|
|
|
|
extern const ConfigInfo<bool> MAIN_DSP_CAPTURE_LOG;
|
|
|
|
extern const ConfigInfo<bool> MAIN_DSP_JIT;
|
|
|
|
extern const ConfigInfo<bool> MAIN_DUMP_AUDIO;
|
|
|
|
extern const ConfigInfo<bool> MAIN_DUMP_AUDIO_SILENT;
|
|
|
|
extern const ConfigInfo<bool> MAIN_DUMP_UCODE;
|
|
|
|
extern const ConfigInfo<std::string> MAIN_AUDIO_BACKEND;
|
|
|
|
extern const ConfigInfo<int> MAIN_AUDIO_VOLUME;
|
|
|
|
|
2018-05-23 15:55:48 +02:00
|
|
|
// Main.General
|
|
|
|
|
|
|
|
extern const ConfigInfo<std::string> MAIN_DUMP_PATH;
|
|
|
|
extern const ConfigInfo<std::string> MAIN_FS_PATH;
|
|
|
|
extern const ConfigInfo<std::string> MAIN_SD_PATH;
|
|
|
|
|
2017-08-03 16:55:43 +08:00
|
|
|
} // namespace Config
|