Switch: Add basic defines for checks/reporting.

This commit is contained in:
Unknown W. Brackets 2019-09-28 09:00:20 -07:00
parent 9e7625c74b
commit 2eee84b5ce
4 changed files with 6 additions and 0 deletions

View File

@ -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__)

View File

@ -849,6 +849,7 @@
</ClInclude>
<ClInclude Include="..\android\jni\TestRunner.h" />
<ClInclude Include="..\ios\ViewController.h" />
<ClInclude Include="..\ppsspp_config.h" />
<ClInclude Include="..\Qt\mainwindow.h" />
<ClInclude Include="..\Qt\QtHost.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>

View File

@ -353,6 +353,7 @@
<ClInclude Include="WASAPIStream.h">
<Filter>Windows\System</Filter>
</ClInclude>
<ClInclude Include="..\ppsspp_config.h" />
</ItemGroup>
<ItemGroup>
<None Include="icon1.ico">

View File

@ -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