14474 Commits

Author SHA1 Message Date
Henrik Rydgård
77b9a6e2e8 Prepare for adjustable save state slot count by making the Win32 menu dynamic 2026-01-08 16:07:48 +01:00
Henrik Rydgård
b64d7b217f Add a --root= command line argument to override what host0: is mounted to.
Fixes #20191
2026-01-06 20:41:35 +01:00
Henrik Rydgård
38ebb9d729 Set a few defaults automatically as a proof-of-concept (to reduce duplication)
See #18888
2026-01-05 19:03:43 +01:00
Henrik Rydgård
ccb7eee91d Logging fix.
Fixes #21102
2026-01-05 16:25:04 +01:00
Henrik Rydgård
a5f877f760
Merge pull request #21099 from fp64/vfpu-sincos-fix
Fix vfpu_sin/vfpu_cos bug
2026-01-03 12:15:53 +01:00
fp64
ac22c45526 Fix vfpu_sin/vfpu_cos bug
Was looking over VFPU stuff, and noticed this.
Presumably, on x86 the code was already doing exactly this, but still, ouch.

Did retest the code on all relevant (|x|>2^32) available inputs, all matches (except NaN payloads, as usual, but that is unrelated).
2026-01-03 07:15:42 +02:00
Henrik Rydgård
64461329e7 More minor fixes and cleanups 2026-01-02 14:20:20 +01:00
Henrik Rydgård
3efbcb600f Increase default exit-save-confirmation delay to 300s (5 min) 2026-01-01 20:59:36 +01:00
Henrik Rydgård
d9ba20ce99 Add sanity checks in GPU::PerformMemoryCopy and GPU::PerformMemorySet
Part of #21055
2026-01-01 14:43:14 +01:00
Henrik Rydgård
8631e77db2 Delete some outdated profiler integrations 2026-01-01 13:55:30 +01:00
Henrik Rydgård
6c324c6782 Minor cleanup 2026-01-01 13:47:19 +01:00
Henrik Rydgård
5f7a937466 Rename ValidSize to ClampValidSizeAt 2025-12-30 20:31:07 +01:00
Henrik Rydgård
fb521408c7 Avoid calling IsValidRange with zero length 2025-12-30 20:31:07 +01:00
Henrik Rydgård
4ef11c8262 Memory::Memset: Ignore addresses if size == 0 2025-12-30 20:31:07 +01:00
Henrik Rydgård
f5a211884b Minor cleanups, comments
Comments and warnings
2025-12-30 20:31:06 +01:00
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