Commit Graph
44221 Commits
Author SHA1 Message Date
Henrik Rydgård b7d26e4e28 Merge pull request #20919 from ThirteenAG/master
add more WM_USER messages
2025-10-25 21:07:43 +02:00
ThirteenAG 93f29ac51f WM_USER_GET_CURRENT_GAMEID: return 4 u32 values (compatibility with 32 bit builds) 2025-10-25 21:50:18 +03:00
ThirteenAG 6bf48c4f88 WM_USER_GET_CURRENT_GAMEID: pack return value into a pair of u64 2025-10-25 21:34:41 +03:00
ThirteenAG e24225a811 add more WM_USER messages
- WM_USER_GET_CURRENT_GAMEID
- WM_USER_GET_MODULE_INFO
2025-10-25 16:36:31 +03:00
Henrik Rydgård 1109b8e565 Merge pull request #20916 from hrydgard/more-portrait-fixes
More portrait fixes
2025-10-24 10:08:56 +02:00
Henrik Rydgård 137cd4b4b3 Change the layout of the main screen in portrait mode a bit. 2025-10-24 01:35:35 +02:00
Henrik Rydgård f4073cfa0e Convert TouchControlVisibilityScreen to use Tabbed... 2025-10-24 01:18:38 +02:00
Henrik Rydgård 412e4ae015 Avoid having the back button scroll with the rest of the tab titles 2025-10-23 18:55:28 +02:00
Henrik Rydgård afdafaa68e Fix a small bug in the sound chooser. Cleanup 2025-10-23 18:47:19 +02:00
Henrik Rydgård 54f4910cda Improve the TiltAnalogSettingsScreen (one case is still iffy) 2025-10-23 18:41:16 +02:00
Henrik Rydgård f8c49ccf23 Merge pull request #20914 from hrydgard/more-new-icons
More UI work on portrait mode
2025-10-23 17:26:19 +02:00
Henrik Rydgård acf273a55a Rename "vertical layout" to "portrait layout", to avoid confusion 2025-10-23 16:11:54 +02:00
Henrik Rydgård 0397fe5e91 Refactor main screen code some more 2025-10-23 16:05:23 +02:00
Henrik Rydgård 2404fc330d In vertical mode, replace the mainscreen buttons with image buttons 2025-10-23 15:43:08 +02:00
Henrik Rydgård 28b9bc2fb3 Make more dev screens usable in portrait by converting them to TabbedDialogScreen 2025-10-23 15:33:09 +02:00
Henrik Rydgård 21f9438682 Clean up the main screen logo view (adjust spacing, extract function) 2025-10-23 14:12:58 +02:00
Henrik Rydgård 9d0dfea04f Split gear.png into two new svg icons, a small (for indicators) and a large one (for buttons) 2025-10-23 14:12:58 +02:00
Henrik Rydgård 9bed94d8f9 Merge pull request #20913 from hrydgard/ui-refactor
UI refactoring, better back button on tabbed dialog like SettingsScreen
2025-10-23 14:12:47 +02:00
Henrik Rydgård 1514df8e3a Add a much more usable back button to Settings screen in portrait mode 2025-10-23 13:48:41 +02:00
Henrik Rydgård 7b743071d2 Prepare for adding more sensible back buttons to TabbedDialogScreen portrait mode 2025-10-23 12:46:07 +02:00
Henrik Rydgård b45d07d6cb Break out TabHolder from Common/UI/ViewGroup.cpp. A few new atlas images 2025-10-23 11:19:20 +02:00
Henrik Rydgård 5b3c3bd189 Replace some functions with lambdas 2025-10-23 10:40:55 +02:00
Henrik Rydgård 7ad4d33094 Start refactoring the MainScreen code 2025-10-23 10:25:28 +02:00
Henrik Rydgård 28790c19af Merge pull request #20912 from hrydgard/ios-portrait-support
iOS portrait mode support
2025-10-22 16:19:37 +02:00
Henrik Rydgård 9cc0f4100b Merge pull request #20910 from hrydgard/upgrade-build-gradle
Convert the Android gradle setup to modern .kts
2025-10-22 16:19:20 +02:00
Henrik Rydgård 67c1e0b8c5 Merge pull request #20911 from fp64/neon-pma
Update NEON PMA to match scalar/SSE2
2025-10-22 16:19:01 +02:00
Henrik Rydgård e2b21d26bf Rotation on iOS fixes: Make sure the setting is saved, etc. 2025-10-22 15:54:00 +02:00
Henrik Rydgård c5dcb0009c Support screen rotation in OpenGL as well. 2025-10-22 15:19:12 +02:00
Henrik Rydgård 1c49ad7b29 Support screen rotation on iOS (unrestricted) 2025-10-22 15:13:21 +02:00
fp64 5c67109862 Update NEON PMA to match scalar/SSE2
See https://github.com/hrydgard/ppsspp/pull/20902#issuecomment-3429764588 for details.

WARNING: not at all tested in actual PPSSPP, only godbolt for relevant snippet. Verification that it works would be good.

Again, this should be slightly slower than the current version, which shouldn't matter. The goal is accuracy/consistency here.
2025-10-22 14:13:07 +03:00
Henrik Rydgård 2ee0b00134 Converting the gradle setup to modern 2025-10-22 12:18:12 +02:00
Henrik Rydgård 9bc28cae3a Merge pull request #20909 from a-blondel/feature/update-infra-dns
Update infra-dns.json
2025-10-22 12:13:01 +02:00
Henrik Rydgård b1ff621483 Merge pull request #20907 from hrydgard/fix-assorted-bugs
Fix minor UI bugs
2025-10-22 12:10:24 +02:00
a-blondel 6e1d4b140c Update infra-dns.json 2025-10-22 12:06:51 +02:00
Henrik Rydgård 353bc9d8bf Fix display of some pinned paths on Android 2025-10-22 00:13:00 +02:00
Henrik Rydgård 630529e25f build.gradle: Don't set platform version for NDK, it's automatic 2025-10-22 00:12:41 +02:00
Henrik Rydgård 74d6b463b2 Merge pull request #20906 from hrydgard/ghost-recon-workaround
Add a compatibility flag to apply sum2012's workaround for Ghost Recon: Predator
2025-10-21 16:57:02 +02:00
Henrik Rydgård f14c4dfb90 Add a compatibility flag to apply sum2012's workaround for Ghost Recon: Predator
I'm not confident in the behavior here, so let's change it only for this
game for now.

Replaces #20892

Fixes #20856
2025-10-21 15:23:12 +02:00
Henrik Rydgård 9467643bd4 Fix formatting string bug in debug overlay 2025-10-21 15:04:15 +02:00
Henrik Rydgård 2bc2d9c6f9 Minor UIAtlas code cleanup 2025-10-21 14:49:55 +02:00
Henrik Rydgård 9b314fff02 Merge pull request #20903 from hrydgard/menu-framerate
Use more accurate sleep functions in menu sleeps
2025-10-21 13:13:57 +02:00
Henrik Rydgård 0770bc6cd6 Parallelize some of the processing of UI atlas images 2025-10-21 12:11:23 +02:00
Henrik Rydgård c29eb5097b Use the more accurate sleep function in the UI throttling 2025-10-21 12:11:23 +02:00
Henrik Rydgård 7cc4a0f3a3 Add more accurate sleep function (well, not more accurate on Windows unfortunately) 2025-10-21 12:11:23 +02:00
Henrik Rydgård 29032f4a70 Merge pull request #20900 from hrydgard/restore-vsync
Rework the VSync setting and related code to make more sense
2025-10-21 12:10:23 +02:00
Henrik Rydgård 6bce0c9ec4 Merge pull request #20901 from cnjhb/patch-1
Add some static for GameSettingsScreen.cpp
2025-10-21 11:27:15 +02:00
Henrik Rydgård d265336912 Warning fix 2025-10-21 11:16:19 +02:00
Henrik Rydgård 3ae0057285 UIAtlas: Fix bug when adding 1px border to images (was a no-op by accident) 2025-10-21 11:08:53 +02:00
Henrik Rydgård 46ab4fd1b9 Merge pull request #20902 from fp64/optimize-pma
Improve accuracy of SSE2 PMA conversion
2025-10-21 11:07:01 +02:00
fp64 9932ad3f85 Improve accuracy of SSE2 PMA conversion
This makes SSE2 version match the (correctly-rounded)
scalar reference (which the current version doesn't:
see https://godbolt.org/z/hK5938jda).

The new implementation uses the same idea as mentioned in
https://github.com/hrydgard/ppsspp/pull/20870#issuecomment-3413134437

It may be a bit slower than current implementation (which
simply truncates?), but correctness/consistency is
probably worth it.

The difference is slight (by 1 in RGB color channels),
but observable in synthetic examples (in particular the
current implementation darkens completely opaque parts,
including `0xFFFFFFFF` -> `0xFFFEFEFE`, and, more
strikingly,`0xFF010101` -> `0xFF000000`).

This doesn't touch NEON part at all (so "vibe-coded" comment
stays for now), but it shouldn't be too hard to port.
2025-10-21 08:04:37 +03:00