Commit Graph

14759 Commits

Author SHA1 Message Date
Henrik Rydgård c932c632a6 Add some sanity checks in SimpleAudioDec to avoid crashes 2025-12-30 20:31:06 +01:00
Henrik Rydgård 2d39a88253 Some game config button cleanup on pause screen 2025-12-25 13:32:38 +01:00
Henrik Rydgård 18a67b82d2 Do the same with KeyInputFlags. Fix minor UI misalignments 2025-12-19 13:41:58 +01:00
Henrik Rydgård 0c4563c253 Throw in a check for the additional issue commented in #21073 2025-12-15 23:43:17 +01:00
Henrik Rydgård ed6ec0517b Fix #21073, plus an additional OOB read 2025-12-15 23:35:07 +01:00
Henrik Rydgård 9caec3ec2d Fix #21065 - add checks in __KernelLoadModule to avoid buffer overflows 2025-12-15 23:35:07 +01:00
Henrik Rydgård 69af603df9 Fix #21064 by removing manual memory management from ParamSFO. 2025-12-15 23:35:07 +01:00
Henrik Rydgård 1ea93e2913 Small refactor of text rect measurement. Add move/resize icons 2025-11-27 11:50:22 +01:00
Henrik Rydgård ed25b5e991 Add convenient UI on the pause screen for changing/locking the screen orientation 2025-11-26 11:14:37 +01:00
Henrik Rydgård 7a8a642aed Convert the pause button to a normal customizable touch screen button 2025-11-25 15:47:05 +01:00
Henrik Rydgård b8fced5b41 Path code cleanup, move some UI code (#21037)
* Move a bunch of path logic into Core/Util/PathUtil.cpp/h

.

* Move GameImageView out from SaveDataScreen

* More cleanup, add a translation string
2025-11-25 00:44:24 +01:00
Henrik Rydgård 3116eba395 More UI work (#21035)
* Improve a couple of on-screen buttons (menu, fastforward)

* Fix the new continue button, oops

* Add some missing translations

* Split a translation string to make portrait look better

* More GameScreen redesign

* Don't accidentally go into game-specific mode

* Fix layout issue with popupscreens, fix context menu positioning

* One more icon
2025-11-24 20:33:13 +01:00
Henrik Rydgård b71ee0ba89 Fix some bugs around game-specific config load/save (#21033) 2025-11-24 14:05:23 +01:00
Henrik Rydgård 0cab218877 Rework InstallZipScreen to work in portrait 2025-11-23 21:24:29 +01:00
Henrik Rydgård 7853881210 GPU header cleanup: Avoid including GPUCommon.h in some places 2025-11-23 20:37:37 +01:00
Henrik Rydgård 049d6ecd0c Fix oversight causing wrong initialization of button visibility 2025-11-23 20:03:54 +01:00
Henrik Rydgård e172cc1060 Correct resetting some touch control parameters.
Fixes #20993
2025-11-22 16:41:12 +01:00
Wes Copeland 7a98df5297 Achievements: support rc_client_set_host 2025-11-16 17:54:56 -05:00
Henrik Rydgård defd21cc90 Android: Rework UI insets handling (#21007)
* During game load, place the loading screen where the game will appear

* Android: Merge NativeActivity into PpssppActivity

* Rework window insets handling on Android

* Main screen: Display the path on its own line in portrait mode

* Make the "Fullscreen" setting on Android separate between portrait and landscape
2025-11-16 10:43:58 +01:00
Henrik Rydgård 55d53bd29a Handle devices with really extreme DPIs. Fixes #21001
I thought I did this already but apparently not, or it got lost in a
branch.
2025-11-15 15:26:06 +01:00
Henrik Rydgård b44c2799ee Merge pull request #20982 from Tolstoyj/mac-camera
Add macOS camera bridge and polish PSP camera emulation
2025-11-10 16:33:27 +01:00
Henrik Rydgård 412c746179 Add tilt (accelerometer) input support for DualSense controllers on Windows 2025-11-09 23:11:20 +01:00
Tolstoy Justin fbc8a04db4 Remove still image capture stubs 2025-11-09 18:24:26 +00:00
Henrik Rydgård 4283e66a12 Font style rework: Windows part 2025-11-09 08:52:21 +01:00
Henrik Rydgård 6d1973edfb Add banners on the top of settings pages, if editing game-specific settings show the icon. 2025-11-09 08:51:41 +01:00
Tolstoy Justin 673c1e76a9 Add macOS camera bridge and polish PSP camera emulation 2025-11-09 00:01:07 +00:00
Henrik Rydgård b6850eb26e Merge pull request #20980 from sum2012/npdrm_minor
Fix crash in npdrmLseek too
2025-11-09 00:43:30 +01:00
sum2012 0f33740721 Fix log channel 2025-11-09 07:25:38 +08:00
sum2012 dbf10eee3d Update sceNpDrmSetLicensee* function
by minimax AI by JPCSP
Some process for #16238
2025-11-09 07:11:29 +08:00
sum2012 5bc12edf05 Fix crash in npdrmLseek too
Both npdrmRead and npdrmLseek use  non-encrypted mode
2025-11-09 06:56:51 +08:00
sum2012 094b069b68 Avoid nullptr in npdrmRead 2025-11-09 01:43:42 +08:00
oltolm b488c17518 fix GCC warning
C:/src/ppsspp/Core/System.cpp: In function 'void DumpFileIfEnabled(const u8*, u32, std::string_view, DumpFileType)':
C:/src/ppsspp/Core/System.cpp:938:29: warning: 'void free(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  938 |                         free(path);
      |                         ~~~~^~~~~~
C:/src/ppsspp/Core/System.cpp:924:67: note: returned from 'void* operator new [](std::size_t)'
  924 |                 char *path = new char[strlen(fullPath.c_str()) + 1];
      |
2025-11-07 22:46:18 +01:00
Henrik Rydgård 9155de3358 Make the old behavior that the UI shrinks if the window is small optional. New hidden setting [General]/ShrinkIfWindowSmall 2025-11-06 23:44:55 +01:00
Henrik Rydgård 602418aa1f Merge pull request #20957 from sum2012/mpeg-patch
Update Mpeg function
2025-11-06 23:19:52 +01:00
sum2012 f80e489638 Fix pgd_offset
By miniMax AI while debuging scemp4 .When PGD decryption failed for .edat files, the pgd_offset variable was not being reset to 0. This caused subsequent file reads to access the wrong file position
2025-11-06 22:17:35 +08:00
Henrik Rydgård fee7b1d2a6 Merge pull request #20971 from hrydgard/portrait-touch-screen-profile
Touch screen: Separate settings for portrait mode
2025-11-05 22:35:14 +01:00
Henrik Rydgård a183420a87 Orientation-specific defaults 2025-11-05 21:46:38 +01:00
Henrik Rydgård 4565b4710d Merge pull request #20947 from oltolm/ffmpeg8
ffmpeg: update API for ffmpeg 8
2025-11-05 21:18:49 +01:00
Henrik Rydgård 063c7d4f7e Get separate touch screen config for portrait working 2025-11-05 21:01:37 +01:00
Henrik Rydgård 4c73103c6c Work on splitting touch controls between orientations 2025-11-05 20:29:55 +01:00
Henrik Rydgård eab2cc85bc Sneak in a critical bugfix in config loading, oops. Also fix minor bug reported by oltolm. 2025-11-05 20:29:12 +01:00
oltolm 122eddfe0f ffmpeg: update API for ffmpeg 8 2025-11-05 19:11:32 +01:00
Henrik Rydgård 75020e2ed7 Add ability to put icons on tabs 2025-11-05 14:42:49 +01:00
Henrik Rydgård 1246b2d131 Correct handling of fallbacks and defaulting 2025-11-05 14:13:11 +01:00
Henrik Rydgård 2b863aafe1 Prepare for the new defaulting mechanism, IniFile cleanup 2025-11-05 12:49:52 +01:00
Henrik Rydgård 2651a3a241 Add base struct ConfigBlock 2025-11-05 12:49:52 +01:00
Henrik Rydgård f7ed063b87 Add a comment 2025-11-05 12:49:51 +01:00
Henrik Rydgård 4467357e09 Add "fallback sections" to config reading, so we can "upgrade" settings 2025-11-05 12:49:51 +01:00
Henrik Rydgård 67010ff2af Split the display layout config between landscape and portrait orientations 2025-11-05 12:49:51 +01:00
Henrik Rydgård c609e96a30 Fix issue where manual edits like comments were not preserved in game configs.
This allowed some simplification.
2025-11-04 23:39:56 +01:00