CMake: Remove unsupported options
This commit is contained in:
@ -1,123 +1,123 @@
|
||||
add_library(core
|
||||
achievements.cpp
|
||||
achievements.h
|
||||
analog_controller.cpp
|
||||
analog_controller.h
|
||||
analog_joystick.cpp
|
||||
analog_joystick.h
|
||||
bios.cpp
|
||||
bios.h
|
||||
bus.cpp
|
||||
bus.h
|
||||
cdrom.cpp
|
||||
cdrom.h
|
||||
cdrom_async_reader.cpp
|
||||
cdrom_async_reader.h
|
||||
cheats.cpp
|
||||
cheats.h
|
||||
controller.cpp
|
||||
controller.h
|
||||
cpu_code_cache.cpp
|
||||
cpu_code_cache.h
|
||||
cpu_core.cpp
|
||||
cpu_core.h
|
||||
cpu_core_private.h
|
||||
cpu_disasm.cpp
|
||||
cpu_disasm.h
|
||||
cpu_types.cpp
|
||||
cpu_types.h
|
||||
digital_controller.cpp
|
||||
digital_controller.h
|
||||
dma.cpp
|
||||
dma.h
|
||||
fullscreen_ui.cpp
|
||||
fullscreen_ui.h
|
||||
game_database.cpp
|
||||
game_database.h
|
||||
game_list.cpp
|
||||
game_list.h
|
||||
gdb_protocol.cpp
|
||||
gdb_protocol.h
|
||||
gpu.cpp
|
||||
gpu.h
|
||||
gpu_backend.cpp
|
||||
gpu_backend.h
|
||||
gpu_commands.cpp
|
||||
gpu_hw.cpp
|
||||
gpu_hw.h
|
||||
gpu_hw_shadergen.cpp
|
||||
gpu_hw_shadergen.h
|
||||
gpu_shadergen.cpp
|
||||
gpu_shadergen.h
|
||||
gpu_sw.cpp
|
||||
gpu_sw.h
|
||||
gpu_sw_backend.cpp
|
||||
gpu_sw_backend.h
|
||||
gpu_types.h
|
||||
guncon.cpp
|
||||
guncon.h
|
||||
gte.cpp
|
||||
gte.h
|
||||
gte_types.h
|
||||
host.cpp
|
||||
host.h
|
||||
host_interface_progress_callback.cpp
|
||||
host_interface_progress_callback.h
|
||||
hotkeys.cpp
|
||||
input_types.h
|
||||
imgui_overlays.cpp
|
||||
imgui_overlays.h
|
||||
interrupt_controller.cpp
|
||||
interrupt_controller.h
|
||||
mdec.cpp
|
||||
mdec.h
|
||||
memory_card.cpp
|
||||
memory_card.h
|
||||
memory_card_image.cpp
|
||||
memory_card_image.h
|
||||
multitap.cpp
|
||||
multitap.h
|
||||
negcon.cpp
|
||||
negcon.h
|
||||
pad.cpp
|
||||
pad.h
|
||||
pcdrv.cpp
|
||||
pcdrv.h
|
||||
pgxp.cpp
|
||||
pgxp.h
|
||||
playstation_mouse.cpp
|
||||
playstation_mouse.h
|
||||
psf_loader.cpp
|
||||
psf_loader.h
|
||||
resources.cpp
|
||||
resources.h
|
||||
save_state_version.h
|
||||
settings.cpp
|
||||
settings.h
|
||||
shader_cache_version.h
|
||||
sio.cpp
|
||||
sio.h
|
||||
spu.cpp
|
||||
spu.h
|
||||
system.cpp
|
||||
system.h
|
||||
texture_replacements.cpp
|
||||
texture_replacements.h
|
||||
timers.cpp
|
||||
timers.h
|
||||
timing_event.cpp
|
||||
timing_event.h
|
||||
types.h
|
||||
achievements.cpp
|
||||
achievements.h
|
||||
analog_controller.cpp
|
||||
analog_controller.h
|
||||
analog_joystick.cpp
|
||||
analog_joystick.h
|
||||
bios.cpp
|
||||
bios.h
|
||||
bus.cpp
|
||||
bus.h
|
||||
cdrom.cpp
|
||||
cdrom.h
|
||||
cdrom_async_reader.cpp
|
||||
cdrom_async_reader.h
|
||||
cheats.cpp
|
||||
cheats.h
|
||||
controller.cpp
|
||||
controller.h
|
||||
cpu_code_cache.cpp
|
||||
cpu_code_cache.h
|
||||
cpu_core.cpp
|
||||
cpu_core.h
|
||||
cpu_core_private.h
|
||||
cpu_disasm.cpp
|
||||
cpu_disasm.h
|
||||
cpu_types.cpp
|
||||
cpu_types.h
|
||||
digital_controller.cpp
|
||||
digital_controller.h
|
||||
dma.cpp
|
||||
dma.h
|
||||
fullscreen_ui.cpp
|
||||
fullscreen_ui.h
|
||||
game_database.cpp
|
||||
game_database.h
|
||||
game_list.cpp
|
||||
game_list.h
|
||||
gdb_protocol.cpp
|
||||
gdb_protocol.h
|
||||
gpu.cpp
|
||||
gpu.h
|
||||
gpu_backend.cpp
|
||||
gpu_backend.h
|
||||
gpu_commands.cpp
|
||||
gpu_hw.cpp
|
||||
gpu_hw.h
|
||||
gpu_hw_shadergen.cpp
|
||||
gpu_hw_shadergen.h
|
||||
gpu_shadergen.cpp
|
||||
gpu_shadergen.h
|
||||
gpu_sw.cpp
|
||||
gpu_sw.h
|
||||
gpu_sw_backend.cpp
|
||||
gpu_sw_backend.h
|
||||
gpu_types.h
|
||||
guncon.cpp
|
||||
guncon.h
|
||||
gte.cpp
|
||||
gte.h
|
||||
gte_types.h
|
||||
host.cpp
|
||||
host.h
|
||||
host_interface_progress_callback.cpp
|
||||
host_interface_progress_callback.h
|
||||
hotkeys.cpp
|
||||
input_types.h
|
||||
imgui_overlays.cpp
|
||||
imgui_overlays.h
|
||||
interrupt_controller.cpp
|
||||
interrupt_controller.h
|
||||
mdec.cpp
|
||||
mdec.h
|
||||
memory_card.cpp
|
||||
memory_card.h
|
||||
memory_card_image.cpp
|
||||
memory_card_image.h
|
||||
multitap.cpp
|
||||
multitap.h
|
||||
negcon.cpp
|
||||
negcon.h
|
||||
pad.cpp
|
||||
pad.h
|
||||
pcdrv.cpp
|
||||
pcdrv.h
|
||||
pgxp.cpp
|
||||
pgxp.h
|
||||
playstation_mouse.cpp
|
||||
playstation_mouse.h
|
||||
psf_loader.cpp
|
||||
psf_loader.h
|
||||
resources.cpp
|
||||
resources.h
|
||||
save_state_version.h
|
||||
settings.cpp
|
||||
settings.h
|
||||
shader_cache_version.h
|
||||
sio.cpp
|
||||
sio.h
|
||||
spu.cpp
|
||||
spu.h
|
||||
system.cpp
|
||||
system.h
|
||||
texture_replacements.cpp
|
||||
texture_replacements.h
|
||||
timers.cpp
|
||||
timers.h
|
||||
timing_event.cpp
|
||||
timing_event.h
|
||||
types.h
|
||||
)
|
||||
|
||||
set(RECOMPILER_SRCS
|
||||
cpu_recompiler_code_generator.cpp
|
||||
cpu_recompiler_code_generator.h
|
||||
cpu_recompiler_code_generator_generic.cpp
|
||||
cpu_recompiler_register_cache.cpp
|
||||
cpu_recompiler_register_cache.h
|
||||
cpu_recompiler_thunks.h
|
||||
cpu_recompiler_types.h
|
||||
cpu_recompiler_code_generator.cpp
|
||||
cpu_recompiler_code_generator.h
|
||||
cpu_recompiler_code_generator_generic.cpp
|
||||
cpu_recompiler_register_cache.cpp
|
||||
cpu_recompiler_register_cache.h
|
||||
cpu_recompiler_thunks.h
|
||||
cpu_recompiler_types.h
|
||||
)
|
||||
|
||||
target_precompile_headers(core PRIVATE "pch.h")
|
||||
|
||||
@ -3219,7 +3219,7 @@ void FullscreenUI::DrawControllerSettingsPage()
|
||||
|
||||
MenuHeading("Input Sources");
|
||||
|
||||
#ifdef WITH_SDL2
|
||||
#ifdef USE_SDL2
|
||||
DrawToggleSetting(bsi, FSUI_ICONSTR(ICON_FA_COG, "Enable SDL Input Source"),
|
||||
FSUI_CSTR("The SDL input source supports most controllers."), "InputSources", "SDL", true, true,
|
||||
false);
|
||||
|
||||
@ -319,7 +319,7 @@ std::unique_ptr<AudioStream> Host::CreateAudioStream(AudioBackend backend, u32 s
|
||||
{
|
||||
switch (backend)
|
||||
{
|
||||
#ifdef WITH_CUBEB
|
||||
#ifdef USE_CUBEB
|
||||
case AudioBackend::Cubeb:
|
||||
return AudioStream::CreateCubebAudioStream(sample_rate, channels, buffer_ms, latency_ms, stretch);
|
||||
#endif
|
||||
|
||||
@ -1247,7 +1247,7 @@ const char* Settings::GetDisplayScalingDisplayName(DisplayScalingMode mode)
|
||||
|
||||
static constexpr const char* s_audio_backend_names[] = {
|
||||
"Null",
|
||||
#ifdef WITH_CUBEB
|
||||
#ifdef USE_CUBEB
|
||||
"Cubeb",
|
||||
#endif
|
||||
#ifdef _WIN32
|
||||
@ -1259,7 +1259,7 @@ static constexpr const char* s_audio_backend_names[] = {
|
||||
};
|
||||
static constexpr const char* s_audio_backend_display_names[] = {
|
||||
TRANSLATE_NOOP("AudioBackend", "Null (No Output)"),
|
||||
#ifdef WITH_CUBEB
|
||||
#ifdef USE_CUBEB
|
||||
TRANSLATE_NOOP("AudioBackend", "Cubeb"),
|
||||
#endif
|
||||
#ifdef _WIN32
|
||||
|
||||
@ -446,7 +446,7 @@ struct Settings
|
||||
static constexpr CPUFastmemMode DEFAULT_CPU_FASTMEM_MODE = CPUFastmemMode::Disabled;
|
||||
#endif
|
||||
|
||||
#if defined(WITH_CUBEB)
|
||||
#if defined(USE_CUBEB)
|
||||
static constexpr AudioBackend DEFAULT_AUDIO_BACKEND = AudioBackend::Cubeb;
|
||||
#elif defined(_WIN32)
|
||||
static constexpr AudioBackend DEFAULT_AUDIO_BACKEND = AudioBackend::XAudio2;
|
||||
|
||||
@ -144,7 +144,7 @@ enum class DisplayScalingMode : u8
|
||||
enum class AudioBackend : u8
|
||||
{
|
||||
Null,
|
||||
#ifdef WITH_CUBEB
|
||||
#ifdef USE_CUBEB
|
||||
Cubeb,
|
||||
#endif
|
||||
#ifdef _WIN32
|
||||
|
||||
Reference in New Issue
Block a user