Henrik Rydgård
1805910fac
More refactoring
2024-04-10 12:22:58 +02:00
Henrik Rydgård
1938d3b876
More prep for plugging in alternate audio decoders
2024-04-10 12:14:58 +02:00
Henrik Rydgård
32ca7ab59a
Minor code cleanups
2024-04-10 12:07:03 +02:00
Henrik Rydgård
88eb2c2e0b
Add a virtual base class so we can implement alternative decoders
2024-04-10 00:45:02 +02:00
Henrik Rydgård
ddbe0e853b
Remove unused code
2024-04-10 00:40:16 +02:00
Henrik Rydgård
e19e9b2793
Delete pointless accessors, update some comments
2024-04-10 00:35:48 +02:00
Henrik Rydgård
c6d2fba2f1
Merge pull request #19022 from hrydgard/minor-fixes
...
Some logging fixes
2024-04-09 19:16:12 +02:00
Henrik Rydgård
ddd821b6ce
Improve logging in pgd_open
2024-04-09 17:41:56 +02:00
sum2012
81057bf535
Try to fix loop in scePsmfPlayerGetVideoData
...
Fix #19011
2024-04-09 21:55:57 +08:00
Henrik Rydgård
4b34e4cfb4
Add option to disable plugins completely
2024-04-09 13:13:30 +02:00
Henrik Rydgård
e903287f4c
Game info screen: Show list of any plugins that will be loaded on start of the game
2024-04-09 12:55:50 +02:00
Henrik Rydgård
b7f0a9029e
More cleanup
2024-04-07 12:36:32 +02:00
Henrik Rydgård
79bdc8a9ff
Some constification in sceChnnlsv
2024-04-07 12:31:45 +02:00
Henrik Rydgård
79c553d004
Remove the zero-write in BuildHash
2024-04-07 12:31:45 +02:00
Henrik Rydgård
404600faa3
SavedataParam/ParamSFO: Minor code cleanups
2024-04-07 12:31:45 +02:00
Henrik Rydgård
77133dd82c
Fix a long-standing buffer overflow in savedata encryption
...
BuildHash pads the buffer up to its 16-byte aligned size with zeroes,
so there needs to be space for that. Or, we should just remove that
write, but let's do the smallest change that fixes the bug for now.
2024-04-07 11:42:51 +02:00
Henrik Rydgård
80a12ca102
Run the update menu item thing on the window thread too.
2024-04-06 12:18:28 +02:00
Henrik Rydgård
00acaa3299
Build the RAIntegration menu on the right thread
2024-04-06 12:14:53 +02:00
Henrik Rydgård
616ee81f84
Add another parameter to the internal "request" framework.
2024-04-06 12:04:45 +02:00
Henrik Rydgård
329628f448
Force the menubar to repaint after building the RA submenu
2024-04-05 22:55:31 +02:00
Henrik Rydgård
770e5b4f4a
Fix shortcut translation so we don't eat Ctrl+C for RAIntegration windows
2024-04-05 22:41:08 +02:00
Henrik Rydgård
d39b606931
RAIntegration: Fix memory writes
2024-04-05 21:00:12 +02:00
Henrik Rydgård
6f825e4ff3
Minor comment fix
2024-04-05 18:21:02 +02:00
Henrik Rydgård
8a1ec96626
Correctly submit the version string
2024-04-05 18:16:46 +02:00
Henrik Rydgård
5a8140c301
Initialize RAIntegration support if available. Untested.
2024-04-05 18:15:10 +02:00
Henrik Rydgård
f54b5e03be
Use remove_if correctly.
2024-04-05 17:28:55 +02:00
Henrik Rydgård
d947de601e
Apply minor cleanup from #18990
...
See #18990
2024-04-04 15:48:09 +02:00
Henrik Rydgård
9f9881dfe3
Move some code, minor cleanup.
...
See #18987
2024-04-04 12:30:41 +02:00
Henrik Rydgård
d02227227b
Merge pull request #18981 from GermanAizek/using-preinc-predec
...
[GPU/System/Thread/Core/FS] Simplify loops
2024-04-04 00:26:54 +02:00
Herman Semenov
4b92848bdc
[System/Core] Simplify loops
2024-04-03 19:25:55 +03:00
Henrik Rydgård
fc1d984b20
Update rcheevos, switch back to upstream. Avoid using rcheevos' hash.c, by computing game hashes ourselves.
2024-04-03 16:43:34 +02:00
Henrik Rydgård
814ba6ef44
Merge pull request #18973 from GermanAizek/fix-return-copies
...
Fixed return copies from functions and added const ref params
2024-04-03 00:21:48 +02:00
Henrik Rydgård
8720cc2640
Merge pull request #18975 from GermanAizek/protect-from-ub
...
Protect against undefined behavior when bitwise shift occurs with negative value
2024-04-03 00:18:59 +02:00
Herman Semenov
7b3c45508b
Protect against undefined behavior when bitwise shift occurs with negative value
2024-04-02 19:31:04 +03:00
Herman Semenov
9e126b5f00
Fixed possible accidental conversion memsize type to strict 32 bit
2024-04-02 19:03:12 +03:00
Herman Semenov
17ecee1715
Fixed return copies from functions and const ref params
2024-04-02 18:37:00 +03:00
Henrik Rydgård
746696ab58
Merge pull request #18970 from GermanAizek/cleanup
...
Cleanup excess redefines and maybe fixed result in HLE sceIo::sceIoGetDevType()
2024-04-02 13:55:27 +02:00
Herman Semenov
0f94ac9189
Cleanup excess redefines and maybe fixed result in HLE sceIo::sceIoGetDevType()
2024-04-02 14:25:26 +03:00
Henrik Rydgård
971320cf66
Fix memory leak on shutdown in sceHeap
2024-04-02 12:02:19 +02:00
Herman Semenov
cfb77ce83e
[Core/HLE/Common/UI] Using C++17 make smart pointers
2024-04-01 18:12:27 +03:00
Henrik Rydgård
22c9437319
Fix wrong timer reading in MIPSDebugInterface, thanks Nemoumbra
2024-03-26 13:40:25 +01:00
Henrik Rydgård
8e93f9ad71
Fix typo in ini setting name. (little used setting, so..).
...
Change Challenge to Hardcore while at it.
2024-03-17 17:03:22 +01:00
Henrik Rydgård
3d2a0b931a
Merge pull request #18931 from hrydgard/chd-hunk-size-fix
...
CHD: Fix unnecessary reloads of "hunks" during large reads
2024-03-16 22:01:26 +01:00
Henrik Rydgård
d284ad4496
Remove warning for bad CHDs
2024-03-16 20:52:21 +01:00
Henrik Rydgård
dad579615b
CHD support: Fix accidental hunk re-reads with large chunks.
2024-03-16 20:38:23 +01:00
Henrik Rydgård
55974f61ad
Fix a bunch of cases where we forgot to check for chd files
2024-03-13 09:31:31 +01:00
rofl0r
55ae3b1c3e
FS: fix crash overreading data on flash0
...
noticed while using intrafont with some homebrew code.
when using musl libc's hardened malloc, the overread in the
code caused PPSSPP to segfault.
2024-02-26 17:17:33 +00:00
Bobby Smith
133e9e37ae
Crash fix for some games
2024-02-23 01:37:07 +01:00
Henrik Rydgård
c5791764d8
Make the i18n T function use std::string_view
...
Buildfixes, crashfixes
One more
Android buildfix
Buildfix Qt
2024-02-12 18:44:39 +01:00
Andrew Udvare
930b7f644d
ffmpeg: Improved fix for checking if const AVCodec* is necessary
2024-02-05 14:37:09 -05:00