From 2eee84b5ce248d42a51442a97cd83d09cc21489c Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 28 Sep 2019 09:00:20 -0700 Subject: [PATCH] Switch: Add basic defines for checks/reporting. --- Core/Reporting.cpp | 2 ++ Windows/PPSSPP.vcxproj | 1 + Windows/PPSSPP.vcxproj.filters | 1 + ppsspp_config.h | 2 ++ 4 files changed, 6 insertions(+) diff --git a/Core/Reporting.cpp b/Core/Reporting.cpp index 34431ff61f..73636c6a22 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 60f23cc46e..9eed29a578 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 9334fab6f3..c640c5642e 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 d2072fbb56..8743e2290e 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