Commit Graph
19 Commits
Author SHA1 Message Date
Henrik Rydgård 7700861d49 More iOS cleanup
Remove outdated code.
2026-08-07 08:49:29 +02:00
Henrik RydgårdandClaude Opus 5 b6b8780cb9 iOS: Remove some dead code
- AudioEngine.mm/.h: not in the source list at all, only in the ARC
  set_source_files_properties list, and written for manual retain/release
  ([super dealloc]), so it couldn't have compiled under ARC anyway. The actual
  audio path is iOSCoreAudio.mm.
- DisplayManager.mm: empty file, referenced nowhere.
- iOSCoreAudioSetDisplayConnected: never called, so g_displayConnected was
  always false and the external-display branch in UpdateSession unreachable.
  Also dropped an unused local there.
- AppDelegate: the "screen" property was never assigned, so both view
  controllers were setting their frame from [nil bounds], i.e. CGRectZero. The
  window sizes the root view anyway. Also removed the stale launchPPSSPP:argv:
  declaration (it lives on SceneDelegate now), a forward declaration of a
  PPSSPPViewController protocol that doesn't exist, and an unreachable return.
- getView: declared on the base class and implemented identically in both
  subclasses, called by nobody.
- bindDefaultFBO: moved the empty implementation to the base class so it isn't
  missing there, and dropped the Metal no-op override.
- The unused delta/lastTimestamp computation in displayLinkFired.

Also fixed the viewWillAppear/viewWillDisappear log messages in the GL view
controller, which claimed to resume and pause the display link but don't.

The getView and bindDefaultFBO changes clear three -Wincomplete-implementation
warnings, and the AppDelegate.h one clears a fourth.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JZk5y4Fzw811WJoNWZb8Sc
2026-08-07 06:56:07 +02:00
Henrik RydgårdandClaude Opus 5 6548a4f5cf iOS: Move accelerometer queue setup inside the init null check
Harmless today since messaging nil is a no-op, but it doesn't belong outside the
"if (self)" block.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JZk5y4Fzw811WJoNWZb8Sc
2026-08-06 20:56:37 +02:00
Henrik RydgårdandClaude Opus 5 8bfc151395 iOS: Hide the status bar when immersive mode is enabled
prefersStatusBarHidden was dead code - it computed an orientation and a
(commented out) user preference, then unconditionally returned false. So the
status bar was only ever hidden on iPhone in landscape, and only because iOS
does that on its own in compact height.

Now it honors bImmersiveMode from the DisplayLayoutConfig matching the current
orientation, so it also applies in portrait and on iPad. Adds the corresponding
checkbox to the iOS system settings, and updates the status bar on rotation and
when the setting is toggled.

Also fixes a missing break in the ROTATE_UPDATED case in System_Notify, and a
static/non-static mismatch on sceKernelLoadModuleBufferUsbWlan that broke the
build (the header intentionally exposes it for sceVshBridge).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JZk5y4Fzw811WJoNWZb8Sc
2026-08-06 20:56:37 +02:00
Henrik Rydgård 19bb9c5a34 Support the more modern file picker, spawns a lot faster 2026-03-11 00:17:46 +01:00
Henrik Rydgård 6ad06e00a4 iOS: Close the keyboard on one more event. Makes it easier to get rid of it if it gets stuck. 2026-03-08 13:03:00 +01:00
Henrik Rydgård 42970d1118 Modernize iOS screen resize code a little. 2026-02-13 18:16:26 +01:00
Henrik Rydgård 8e06e4c5c2 iOS: Delete untested multi-screen-management code that uses deprecated APIs 2026-02-13 18:16:26 +01:00
Henrik Rydgård c7a7db3bbe iOS: Track controller connect/disconnect, reset controls on disconnect. 2026-01-26 11:44:30 +01:00
Henrik Rydgård 77ec5c7c50 Buildfixes 2025-12-19 16:20:30 +01:00
Henrik Rydgård b660dcee2b Various inset and margin fixes and improvements 2025-10-28 13:59:37 +01:00
Henrik Rydgård 138be54f6a More misc work 2025-10-28 11:54:07 +01:00
Henrik Rydgård df9c575a22 iOS: Show the status bar (overlay style) in portrait mode. 2025-10-28 11:54:07 +01:00
Henrik Rydgård c7370c2e72 Move even more stuff into PPSSPPBaseViewController 2025-10-27 21:38:27 +01:00
Henrik Rydgård d5834d0f84 Move a lot more stuff into PPSSPPBaseViewController 2025-10-27 21:11:39 +01:00
Henrik Rydgård f825db5551 Move camera and location support to PPSSPPBaseViewController 2025-10-27 20:44:34 +01:00
Henrik Rydgård 5e41be136b Move photo picking support to PPSSPPBaseViewController 2025-10-27 20:29:00 +01:00
Henrik Rydgård ae920edf91 iOS: Add a common PPSSPPBaseViewController 2025-10-27 20:19:22 +01:00
Henrik Rydgård 052e21b903 Increase the safe inset margins slightly 2025-10-27 19:24:08 +01:00