Nab
3c611355c6
Stricter check for 'H' region
2025-09-03 17:40:40 +00:00
Nab
5bfd4b390c
GameRegion improvements
2025-09-03 14:17:55 +02:00
Henrik Rydgård
bbe1a7edc1
Add simple ParamSFO viewer to ImDebugger
2025-09-01 13:53:44 +02:00
Henrik Rydgård
c9acf8e80e
More std::string_view
2025-08-31 20:20:59 +02:00
Henrik Rydgård
339ac7b866
Don't forget to copy over the MEMSIZE flag, when parsing PARAM.SFO for homebrew.
2025-06-06 18:50:47 +02:00
Henrik Rydgård
c29e370e29
Remove global state from kirk engine
2025-06-05 22:46:24 +02:00
Henrik Rydgård
6bc625ecde
More const-ness corrections
2025-06-05 22:46:23 +02:00
Henrik Rydgård
e0a98ea54c
Improve the "No game loaded" RA popup
2025-06-01 11:47:07 +02:00
Henrik Rydgård
4c631e77f5
RetroAchievements: Show region when showing the info popu. Refactor region detection a little.
2025-06-01 11:34:59 +02:00
Henrik Rydgård
fab709af57
ELF loading: Shouldn't use ReadInstruction here, relocs might be unaligned.
2025-05-19 20:41:33 +02:00
Henrik Rydgård
fba2489c79
Remove dubious parallelization in ELF loading, initialize a var, add some checks
2025-05-15 09:48:23 +02:00
Henrik Rydgård
41b77bf1ae
More log cleanup
2025-04-14 22:27:51 +02:00
Henrik Rydgård
0df7a850a1
Only load PARAM.SFO once during startup
2025-03-26 09:24:14 +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
3e198c53b2
More include cleanup
2024-12-18 13:57:26 +01:00
Henrik Rydgård
cebb2ea96e
Add missing return statement from PBPReader::GetSubFileAsString. Compiler should have rejected this..
2024-11-04 01:15:00 +01:00
Henrik Rydgård
eb5769c162
PBPReader sanity checks
2024-11-01 20:35:34 +01:00
Henrik Rydgård
6a7435341e
Some reporting cleanups
2024-10-28 17:25:40 +01:00
Herman Semenov
192650f551
[Core/HLE/GPU/D3D11/GLES] Using for based loop C++17 and replaced on structured binding map C++17
2024-09-18 11:10:10 +02:00
Herman Semenov
3c66f149d3
[Common/Core/Windows] Removed excess check pointer before delete or free()
2024-09-17 11:34:42 +02:00
Henrik Rydgård
3a047369fd
Add ability to install savedata from GameFAQs-style ZIP files
2024-09-05 17:12:10 +02:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) ( #19324 )
...
* Rename LogType to Log
* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.
* Mac/ARM64 buildfix
* Do the same with the hle result log macros
* Rename the log names to mixed case while at it.
* iOS buildfix
* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +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
fae1f4acd3
A null check and a locking simplification
2024-01-30 19:15:19 +01:00
Henrik Rydgård
0d28d3e009
Merge pull request #18562 from LunaMoo/crypto
...
Add more crypto keys
2024-01-28 19:17:31 +01:00
Henrik Rydgård
2e16fd3bcc
Fix fake game ID generation to work with scoped storage
2024-01-23 01:06:56 +01:00
LunaMoo
eaf488fb7b
Oops
2023-12-17 06:35:53 +01:00
LunaMoo
0fd3f00a19
Add xor to other update functions looking at killzone liberation issue #12343 which needs 2 keys as well(seeds)
2023-12-17 03:34:20 +01:00
LunaMoo
bd7df8a675
Add more crypto keys from https://www.consolex.ru/forum/showthread.php?t=85431
2023-12-17 03:00:17 +01:00
Herman Semenov
af41281761
[Core/Dialog/ELF/FileSystems/HLE/HW/Util] Added const reference for function params
2023-12-14 14:22:24 +03:00
Unknown W. Brackets
b2b61d58d4
Loader: Support HI16/16 pairs, not just LO16.
...
Motorstorm: Arctic Edge US uses these pairs for some VFPU loads.
Without relocating these, strange shadows show underneath vehicles.
It appears as if actual firmware pairs with any non-HI16 relocation.
2023-06-18 19:06:29 -07:00
Unknown W. Brackets
a9668bdb60
Debugger: More useful tag for section suballocs.
2023-06-18 19:04:18 -07:00
Henrik Rydgård
4dd4bf24fc
Merge pull request #17561 from unknownbrackets/elf-reloc
...
Loader: Report on HI16/LO16 r_info mismatch
2023-06-11 23:59:52 +02:00
Unknown W. Brackets
4108eaca42
Loader: Add additional data to missing LO16 report.
2023-06-11 14:41:50 -07:00
Unknown W. Brackets
ef59b60aac
Loader: Report on HI16/LO16 r_info mismatch.
...
Referenced in some LLVM code which checks the index specifically:
https://github.com/llvm/llvm-project/blob/c72dea88b635bfd7856fa22bcaf388fa72c9fe86/lld/ELF/Relocations.cpp#L491
Noted by Kingcom.
2023-06-11 14:37:43 -07:00
Henrik Rydgård
67a35d3476
Merge pull request #17356 from unknownbrackets/minor-cleanup
...
Cleanup some more string formats, mostly in debugger
2023-05-23 08:29:23 +02:00
Henrik Rydgård
cf9a628a2e
AndroidContentURI: Move code from the header to cpp. Some assorted cleanup, add a unit test for Download paths
2023-05-16 16:08:51 +02:00
Henrik Rydgård
a43bdd8169
ReadSFO: Fix memory safety issues
2023-05-01 13:52:16 +02:00
Unknown W. Brackets
46101581c0
Core: Cleanup disasm buffer usage.
2023-04-29 09:07:25 -07:00
Henrik Rydgård
534896d2ab
ControlMapper: Allow overriding PSP button event handling through a callback.
2023-03-28 00:23:18 +02:00
Unknown W. Brackets
88ba003f46
ThreadManager: Add a simple priority field.
...
Currently, not actually respected.
2023-02-02 17:08:24 -08:00
Unknown W. Brackets
dea9cac16c
Core: Add range checks to some helpers and similar.
2023-01-09 16:56:18 -08:00
Unknown W. Brackets
9cfcbc46e6
Global: Cleanup initialization/pointer checks.
...
Cleaning up a lot of cases of uninitialized data, unchecked return values
for failures, and similar.
2022-12-10 21:13:36 -08:00
Henrik Rydgård
50285f6bf6
Revert "Revert "Loader: Validate offsets and truncation in ELF.""
...
This reverts commit 470edac18a .
2022-10-10 13:29:09 +02:00
Henrik Rydgård
6833589e38
Update elfSize to uncompressed elf size when needed. Fixes infinite loading in Wipeout.
...
Also minor cleanups.
2022-10-10 12:22:05 +02:00
Henrik Rydgård
470edac18a
Revert "Loader: Validate offsets and truncation in ELF."
...
This reverts commit 4ecdce2a37 .
2022-10-10 11:42:24 +02:00
Unknown W. Brackets
4ecdce2a37
Loader: Validate offsets and truncation in ELF.
2022-10-09 16:41:32 -07:00
lainon
b304551747
Code readability, vec reserve() and remove excess c_str()
2022-09-30 12:31:32 +03:00
Henrik Rydgård
ac7ca963db
Make valgrind happy
2022-09-23 12:24:43 +02:00