diff options
author | Adrian Graber <adrian@adriangraber.com> | 2021-07-04 18:52:48 +0200 |
---|---|---|
committer | Adrian Graber <adrian@adriangraber.com> | 2021-07-13 00:49:13 +0200 |
commit | 28f266302fbeea2d75d5a62de651d464ab380798 (patch) | |
tree | e9ae6bc810489c798e6bb3f27d75afe803c7f9ae /src/core/config.h | |
parent | Vanilla config for Windows and win-x86 only (diff) | |
download | re3-28f266302fbeea2d75d5a62de651d464ab380798.tar re3-28f266302fbeea2d75d5a62de651d464ab380798.tar.gz re3-28f266302fbeea2d75d5a62de651d464ab380798.tar.bz2 re3-28f266302fbeea2d75d5a62de651d464ab380798.tar.lz re3-28f266302fbeea2d75d5a62de651d464ab380798.tar.xz re3-28f266302fbeea2d75d5a62de651d464ab380798.tar.zst re3-28f266302fbeea2d75d5a62de651d464ab380798.zip |
Diffstat (limited to 'src/core/config.h')
-rw-r--r-- | src/core/config.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/core/config.h b/src/core/config.h index 885f98b8..edb5fb5a 100644 --- a/src/core/config.h +++ b/src/core/config.h @@ -319,7 +319,7 @@ enum Config { #if !defined(RW_GL3) && defined(_WIN32) #define XINPUT #endif -#if defined XINPUT || (defined RW_GL3 && !defined LIBRW_SDL2 && !defined __SWITCH__) +#if defined XINPUT || (defined RW_GL3 && !defined LIBRW_SDL2 && !defined GTA_SWITCH) #define DETECT_JOYSTICK_MENU // Then we'll expect user to enter Controller->Detect joysticks if his joystick isn't detected at the start. #endif #define DETECT_PAD_INPUT_SWITCH // Adds automatic switch of pad related stuff between controller and kb/m @@ -439,7 +439,7 @@ enum Config { #endif // Streaming -#if !defined(_WIN32) && !defined(__SWITCH__) +#if !defined(_WIN32) && !defined(GTA_SWITCH) //#define ONE_THREAD_PER_CHANNEL // Don't use if you're not on SSD/Flash - also not utilized too much right now(see commented LoadAllRequestedModels in Streaming.cpp) #define FLUSHABLE_STREAMING // Make it possible to interrupt reading when processing file isn't needed anymore. #endif @@ -461,4 +461,9 @@ enum Config { #undef PEDS_REPORT_CRIMES_ON_PHONE #endif +#ifdef GTA_SWITCH + #define IGNORE_MOUSE_KEYBOARD // ignore mouse & keyboard input + #define USE_UNNAMED_SEM // named semaphores are unsupported on the switch +#endif + #endif // VANILLA_DEFINES |