diff --git a/Core/Reporting.cpp b/Core/Reporting.cpp index 34431ff61..73636c6a2 100644 --- a/Core/Reporting.cpp +++ b/Core/Reporting.cpp @@ -269,6 +269,8 @@ namespace Reporting return "Mac"; #elif defined(LOONGSON) return "Loongson"; +#elif defined(__SWITCH__) + return "Switch"; #elif defined(__linux__) return "Linux"; #elif defined(__Bitrig__) diff --git a/Windows/PPSSPP.vcxproj b/Windows/PPSSPP.vcxproj index 60f23cc46..9eed29a57 100644 --- a/Windows/PPSSPP.vcxproj +++ b/Windows/PPSSPP.vcxproj @@ -849,6 +849,7 @@ + true diff --git a/Windows/PPSSPP.vcxproj.filters b/Windows/PPSSPP.vcxproj.filters index 9334fab6f..c640c5642 100644 --- a/Windows/PPSSPP.vcxproj.filters +++ b/Windows/PPSSPP.vcxproj.filters @@ -353,6 +353,7 @@ Windows\System + diff --git a/ppsspp_config.h b/ppsspp_config.h index d2072fbb5..8743e2290 100644 --- a/ppsspp_config.h +++ b/ppsspp_config.h @@ -110,6 +110,8 @@ #else #error "Unknown Apple platform" #endif +#elif defined(__SWITCH__) + #define PPSSPP_PLATFORM_SWITCH 1 #elif defined(__ANDROID__) #define PPSSPP_PLATFORM_ANDROID 1 #define PPSSPP_PLATFORM_LINUX 1