Commit graph

42551 commits

Author SHA1 Message Date
Henrik Rydgård
aa87fee0d6
Merge pull request #20157 from hrydgard/log-optimization
Logging optimization
2025-03-25 23:58:35 +01:00
Henrik Rydgård
0ecd72416b Reduce overhead of logging further. 2025-03-25 23:09:11 +01:00
Henrik Rydgård
8e3df92aff Avoid formatting log messages in more cases. 2025-03-25 22:42:48 +01:00
Henrik Rydgård
00fdace102
Merge pull request #20154 from hrydgard/misc-stuff
LocoRoco fix, add ability to ImDebugger to export modules as jpscptrace definitions
2025-03-25 00:50:09 +01:00
Henrik Rydgård
eb251af964 Create decodeTemp_ on demand. Fixes #20150 2025-03-25 00:30:31 +01:00
Henrik Rydgård
9f22d3a64e Re-enable the "HLE module browser". Add ability to export modules as jpscptrace definitions. 2025-03-25 00:11:42 +01:00
Henrik Rydgård
3e15d97be8 New atrac: A safety check in DecodeInternal 2025-03-25 00:01:55 +01:00
Henrik Rydgård
5fcf0c6276 Swap the Cancel and No functions in the assert dialog. Plus a function rename and some safety checks. 2025-03-25 00:01:14 +01:00
Henrik Rydgård
0afacd3c03
Merge pull request #20152 from hrydgard/lazy-tab-loading
Settings: Load tabs on demand, instead of all at once
2025-03-24 10:13:48 +01:00
Henrik Rydgård
be93f03f1d Android buildfix 2025-03-24 09:48:10 +01:00
Henrik Rydgård
ad260fa6a8 Implement lazy loading of tabs 2025-03-23 22:48:57 +01:00
Henrik Rydgård
6efb758893 CHange the TabbedDialog create-tab API to allow for future lazy-loading 2025-03-23 22:48:57 +01:00
Henrik Rydgård
4b977b43c2 TabHolder: Contents are always ViewGroups, let's enforce that. 2025-03-23 22:48:57 +01:00
Henrik Rydgård
76ce11ad2c Remove a vector while keeping settings search working. 2025-03-23 22:48:57 +01:00
Henrik Rydgård
4d43ee5f59 Use the banner support for the search filter notice. 2025-03-23 22:48:57 +01:00
Henrik Rydgård
0ba92081ed Add banner support to tab holders 2025-03-23 22:48:51 +01:00
Henrik Rydgård
ca1819fe85
Merge pull request #20149 from hrydgard/tomb-raider-atrac-fix
Fix regression in Tomb Raider Legends
2025-03-23 07:57:31 +01:00
Henrik Rydgård
2b558eb545 Fix regression in Tomb Raider Legends
Need to make sure a buffer size check happens before the buffer is
accessed - since the game calls sceAtracSetDataAndGetID with both buffer
and bufferSize as 0, and it expects to receive TOO_SMALL and not a
memory exception.

Thanks to @sum2012 for quick investigationh help.
2025-03-23 07:11:01 +01:00
Henrik Rydgård
22fe190170
Merge pull request #20147 from DDinghoya/patch-33
Update ko_KR.ini
2025-03-23 06:12:53 +01:00
DDinghoya
a8777a0788
Update ko_KR.ini 2025-03-23 11:44:37 +09:00
Henrik Rydgård
c70a9b2114
Merge pull request #20138 from hrydgard/default-to-new-sceatrac
Use the new sceAtrac implementation by default
2025-03-22 12:27:58 +01:00
Henrik Rydgård
a3f033bf74
Merge pull request #20140 from hrydgard/more-error-enum
Move more error codes to the big enum
2025-03-21 21:16:36 +01:00
Henrik Rydgård
63c4b2e9b3 Move SSL error codes to the big enumt 2025-03-21 20:45:23 +01:00
Henrik Rydgård
44bb7a1ac5 Buildfix, minor savestate fix 2025-03-21 20:45:12 +01:00
Henrik Rydgård
0f840e6240 Move JPEG error codes to the big enum, some include cleanup 2025-03-21 20:44:46 +01:00
Henrik Rydgård
999bf59ae1 Move mutex error codes into the big enum 2025-03-21 20:44:46 +01:00
Henrik Rydgård
82728652d8 Move Font and Psmf error codes to the big enum 2025-03-21 20:44:46 +01:00
Henrik Rydgård
ea198dd593 Add mpeg error codes to the big enum 2025-03-21 20:44:46 +01:00
Henrik Rydgård
756b245dd4
Merge pull request #20143 from hrydgard/android-fix-savestate-crash
Fix crash when saving screenshots on a thread
2025-03-21 20:38:58 +01:00
Henrik Rydgård
a3a7807aac Fix crash when taking screenshots on a thread
Forgot that we only enable android JNI on "I/O" threads.

Fixes #20139
2025-03-21 19:12:54 +01:00
Henrik Rydgård
112bd904b8
Merge pull request #20141 from hrydgard/digimon-fix
PPGe/savedata: Add a bunch of safety checks for png images.
2025-03-21 10:34:45 +01:00
Henrik Rydgård
f14075e650 PPGe/savedata: Add a bunch of safety checks for png images. Fixes Digimon save crash, see #20125. 2025-03-21 10:07:42 +01:00
Henrik Rydgård
2487fdff84 Update the translation string 2025-03-21 00:40:52 +01:00
Henrik Rydgård
249281366e Use the new sceAtrac implementation by default
Inverts/renames the setting to allow going back to the old sceAtrac
implementation, to work around any compatibility issue.

Note that we can never delete the old implementation, old savestates
will still use it - can't convert an existing session.
2025-03-20 23:10:21 +01:00
Henrik Rydgård
a68e4292f9
Merge pull request #20137 from hrydgard/screenshot-speedup
Screenshot performance improvement
2025-03-20 21:46:54 +01:00
Henrik Rydgård
6a71cbee79 Speed up screenshot filename generation (checking for existing files more efficiently) 2025-03-20 20:48:55 +01:00
Henrik Rydgård
b421c0791f Perform screenshot processing (including image encode) on background tasks 2025-03-20 20:48:51 +01:00
Henrik Rydgård
14ee85139d Remove unused ability to call callbacks after taking a savestate screenshot 2025-03-20 19:41:10 +01:00
Henrik Rydgård
ae8f8c4abd Refactor TakeGameScreenshot a bit. 2025-03-20 17:41:44 +01:00
Henrik Rydgård
cb1df4056c Remove almost-empty files ThreadPools.cpp/h 2025-03-20 17:21:20 +01:00
Henrik Rydgård
79945d69f4
Merge pull request #20136 from hrydgard/more-atrac-fixes
New sceAtrac impl: Fix low level decoding
2025-03-20 14:22:26 +01:00
Henrik Rydgård
e3297d84f5 Fix pointer incrementes with low level decoder 2025-03-20 13:30:49 +01:00
Henrik Rydgård
d83bdc3bf8 Restore the old memory reservation for sceAtrac.
See #20133
2025-03-20 13:18:03 +01:00
Henrik Rydgård
c71a72cbe7
Merge pull request #20132 from hrydgard/atrac-new-impl-crashfix
Fix minor logic error in Atrac2
2025-03-19 18:19:21 +01:00
Henrik Rydgård
0aec6aeddd Fix silly logic error in Atrac2 2025-03-19 18:17:47 +01:00
Henrik Rydgård
5d89fa31f9
Merge pull request #20130 from hrydgard/debugger-work
Break out AtracTrack into its own file
2025-03-19 16:35:50 +01:00
Henrik Rydgård
44f462f3cf
Merge pull request #20131 from hrydgard/castlevania-simulate-umd-delays
Castlevania X Chronicles - force "Simulate UMD delays" to on
2025-03-19 16:21:47 +01:00
Henrik Rydgård
ae45e7d980 Castlevania X Chronicles - force "Simulate UMD delays" to on
See #11091
2025-03-19 16:21:07 +01:00
Henrik Rydgård
e70dd3b2df Break out AtracTrack into its own file. Add a little atrac analysis tool to ImDebugger (for future use) 2025-03-19 16:15:51 +01:00
Henrik Rydgård
24d859f773 Add new utility function to break into the debugger without a popup 2025-03-19 16:13:30 +01:00