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>
<key>LSApplicationCategoryType</key>
<string>public.app-category.games</string>
<key>GCSupportsGameMode</key>
<true/>
<key>LSSupportsGameMode</key>
<true/>
<key>LSRequiresIPhoneOS</key>
<false/>
<key>NSPhotoLibraryAddUsageDescription</key>

View File

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

View File

@ -483,12 +483,6 @@ void Gfx_SetViewport(int x, int y, int w, int h) {
offset[3] = 0.0f;
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) {