Commit graph

42590 commits

Author SHA1 Message Date
Henrik Rydgård
acad90a041 More work on the lua console 2025-03-27 14:26:48 +01:00
Henrik Rydgård
2d69d78e71 Console wip 2025-03-27 08:59:38 +01:00
Henrik Rydgård
d0e60e5b06 Minor patch to get sol.hpp working. 2025-03-27 08:59:38 +01:00
Henrik Rydgård
cf059ff84c Stub a lua console, add the sol lua wrapper library 2025-03-27 08:59:37 +01:00
Henrik Rydgård
a4af129983
Merge pull request #20165 from hrydgard/reintroduce-and-fix-cache-in-ram
Reintroduce and fix feature checks for "Cache full ISO in RAM"
2025-03-27 02:10:28 +01:00
Henrik Rydgård
591a63bdff
Merge pull request #20167 from hrydgard/android-fix
Android fix
2025-03-27 02:10:01 +01:00
Henrik Rydgård
e5d00ce493 Fix startup on Android, oops
Forgot that we can't create android-compatible threads in global
constructors, for JNI reasons.
2025-03-27 01:58:53 +01:00
Henrik Rydgård
b05d6171d4 Add a consistent feature check - only desktops get to use CacheFullISOInRAM. 2025-03-27 01:02:28 +01:00
Henrik Rydgård
8d9b3f28f2 Reintroduce "cache ISO in RAM" 2025-03-27 00:46:31 +01:00
Henrik Rydgård
f73df3a4da
Merge pull request #20163 from hrydgard/refactor-recent-files
Switch the recent files manager to the "command processor on thread" pattern, to avoid blocking the main thread
2025-03-27 00:00:13 +01:00
Henrik Rydgård
8a2f597c2e Buildfix 2025-03-26 23:19:45 +01:00
Henrik Rydgård
af39794114 Buildfix 2025-03-26 21:36:00 +01:00
Henrik Rydgård
6ea0dd8208 Switch the recent files manager to the "command processor on thread" pattern
This removes all instances (except join-thread-on-quit) where the main
thread was previously waiting for the cleaning of the recents list and
similar.
2025-03-26 21:31:03 +01:00
Henrik Rydgård
e4a492b6a2
Merge pull request #20161 from hrydgard/recent-files-speedup
Recent files code cleanup
2025-03-26 19:11:23 +01:00
Henrik Rydgård
6b23ce36cb Mac buildfix 2025-03-26 18:57:38 +01:00
Henrik Rydgård
fed7c651df
Merge pull request #20162 from hrydgard/align-av-malloc
at3_standalone: Make all allocations aligned.
2025-03-26 18:46:47 +01:00
Henrik Rydgård
569f6effa8 at3_standalone: Make all allocations aligned.
Replace av_realloc with regular realloc, as there's no aligned_realloc
and pointers are not compatible with regular free.
2025-03-26 18:03:13 +01:00
Henrik Rydgård
a50b303a38 Redesign the recent files API a bit. 2025-03-26 17:59:30 +01:00
Henrik Rydgård
e1be5c9279 Reduce locking 2025-03-26 17:31:47 +01:00
Henrik Rydgård
ddf43adbc8 Recent: Don't resolve paths when iterating. We already resolve all paths on insert, and have done so for a long time. 2025-03-26 17:31:47 +01:00
Henrik Rydgård
ca64734bcd Hide the file name resolution behind the interface 2025-03-26 17:31:47 +01:00
Henrik Rydgård
a156697822 Break out the "Recent ISOs" code into its own file so it's more practical to work on it 2025-03-26 17:31:47 +01:00
Henrik Rydgård
2309226a08
Merge pull request #20159 from hrydgard/startup-cleanup
Startup code cleanup
2025-03-26 10:35:48 +01:00
Henrik Rydgård
e2e99caeee Some minor reordering, reduce the calls to Identify_File 2025-03-26 09:24:14 +01:00
Henrik Rydgård
0df7a850a1 Only load PARAM.SFO once during startup 2025-03-26 09:24:14 +01:00
Henrik Rydgård
05b1cf3b80 Startup cleanup, part 1 2025-03-26 09:24:14 +01:00
Henrik Rydgård
3880f83e81
Merge pull request #20158 from hrydgard/remove-cache-iso-in-ram
Remove the "Cache full ISO in RAM" feature
2025-03-26 09:24:10 +01:00
Henrik Rydgård
4eaad7d5af Remove the "Cache full ISO in RAM" feature
It's been broken for years and nobody has even noticed enough to report
it.
2025-03-26 09:06:33 +01:00
Henrik Rydgård
16f9851bbc
Merge pull request #20156 from hrydgard/reimplement-sas-atrac
Reimplement Atrac-through-SAS
2025-03-26 00:34:07 +01:00
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
2af71d049b Lost this behavior by mistake. Should fix the tests. 2025-03-25 23:27:43 +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
8403597efd Fix an unrelated issue where "Cache full iso in RAM" didn't actually work until resetting 2025-03-25 22:19:28 +01:00
Henrik Rydgård
870995a767 Mostly restore the old code path 2025-03-25 22:19:09 +01:00
Henrik Rydgård
96ca0e95f3 Cleanup logging 2025-03-25 22:01:33 +01:00
Henrik Rydgård
c418513fa5 Fix bad check, add some comments
And remove unneded initial text.
2025-03-25 22:01:33 +01:00
Henrik Rydgård
5ea7729f66 More work on atrac-through-sas 2025-03-25 22:01:33 +01:00
Henrik Rydgård
172e54286e Refactor a bit to make it easier to expose the streaming state to the debugger. 2025-03-25 22:01:33 +01:00
Henrik Rydgård
1bd5cffa1d Initial work on re-implementing atrac-through-sas 2025-03-25 22:01:30 +01:00
Henrik Rydgård
d8f82b5875 Minor cleanup 2025-03-25 16:45:43 +01:00
Henrik Rydgård
4b123a2e09 Move the sceSas error codes into the big enum 2025-03-25 12:04:33 +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