iOS/macOS: Add other game mode keys to info.plist

This commit is contained in:
UnknownShadow200 2025-08-20 23:32:01 +10:00
parent 4b01fa8556
commit 321a829243
3 changed files with 8 additions and 6 deletions

View File

@ -20,6 +20,10 @@
<string>1</string> <string>1</string>
<key>LSApplicationCategoryType</key> <key>LSApplicationCategoryType</key>
<string>public.app-category.games</string> <string>public.app-category.games</string>
<key>GCSupportsGameMode</key>
<true/>
<key>LSSupportsGameMode</key>
<true/>
<key>LSRequiresIPhoneOS</key> <key>LSRequiresIPhoneOS</key>
<false/> <false/>
<key>NSPhotoLibraryAddUsageDescription</key> <key>NSPhotoLibraryAddUsageDescription</key>

View File

@ -18,5 +18,9 @@
<string>ClassiCube</string> <string>ClassiCube</string>
<key>LSApplicationCategoryType</key> <key>LSApplicationCategoryType</key>
<string>public.app-category.games</string> <string>public.app-category.games</string>
<key>GCSupportsGameMode</key>
<true/>
<key>LSSupportsGameMode</key>
<true/>
</dict> </dict>
</plist> </plist>

View File

@ -483,12 +483,6 @@ void Gfx_SetViewport(int x, int y, int w, int h) {
offset[3] = 0.0f; offset[3] = 0.0f;
rsxSetViewport(context, x, y, w, h, zmin, zmax, scale, offset); rsxSetViewport(context, x, y, w, h, zmin, zmax, scale, offset);
// TODO: even needed?
for (int i = 0; i < 8; i++)
{
rsxSetViewportClip(context, i, w, h);
}
} }
void Gfx_SetScissor(int x, int y, int w, int h) { void Gfx_SetScissor(int x, int y, int w, int h) {