Henrik Rydgård
f8bf0bfbb5
Add some new logging to sceUtility to try to figure out the Silent Hill problem
2024-07-16 22:04:41 +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
Nemoumbra
8409914b79
Added deciphering of ~SCE headers (cracked by me)
2024-05-09 04:43:45 +03:00
Henrik Rydgård
0b91aa50ee
Improve memory safety, add bugfix to little-used sysclib functions
2024-05-05 14:19:49 +02:00
Herman Semenov
2a31f8c6c0
[Common/Core/HLE] Object out of scope optimization for better codegeneration (lower level scope)
2023-12-20 12:33:56 +03:00
Henrik Rydgård
155222145a
Merge pull request #18550 from GermanAizek/fix-memsize-type
...
[Common Data Net/Core Debugger HLE/GPU Debugger] Fixed reduction data type size to strict 32-bit integer
2023-12-14 17:51:08 +01:00
Herman Semenov
309f0d97f2
[Common Data Net/Core Debugger HLE/GPU Debugger] Fixed reduction data type size to strict 32-bit integer
2023-12-14 19:26:10 +03:00
Herman Semenov
315340fc62
Using const reference for C++17 range-based loop and freq used objects
2023-12-13 17:33:01 +01:00
Henrik Rydgård
85001bf71f
Remove some redundant uses of MOBILE_DEVICE. Goal is to one day get rid of that define.
2023-12-07 17:30:15 +01:00
sum2012
9869267160
oop
2023-11-01 06:33:08 +08:00
sum2012
199f0dd704
Record Atrac libersion
...
Gripshift library version 0x101 ,crc 3dd5e32f
2023-11-01 06:29:55 +08:00
Unknown W. Brackets
c122ee0a11
HLE: Add some assorted detected func names.
...
These come from here:
https://github.com/SiSTR0/sce_symbols/blob/main/psp_names.txt
2023-06-06 23:50:49 -07:00
Henrik Rydgård
0da82d3250
ElfLoader: Don't scan for functions in zero-length sections
...
We end up scanning a crazy range from 0 to 0xFFFFFFFFC, which causes
problems.
Happens in WWE: Smackdown Vs Raw 2009 during initial load.
2023-05-08 17:04:29 +02:00
Henrik Rydgård
484f2c5954
Fix texcoord issue with SOCOM post effect
2023-04-25 23:02:12 +02:00
Henrik Rydgård
b1f8830bd8
Don't try to present from little temp framebuffers used by Godfather to draw text.
...
The framebuffer does contain the top of the video frame at the present
time though, so things have partially gone well. However the rest of the
frame lies after it in VRAM. What we probably technically should do when
we see this is to assemble an image from both the framebuffer we find
and VRAM contents exceeding the range of that image, but seems kinda
impractical.
This works, but there seems to be some other issue with how the text is
rendered or copied. Could be a color precision issue confusing the game
I suppose.
2023-04-17 12:24:31 +02:00
Unknown W. Brackets
e7ebb03103
Module: Save ELFs by name and fix when compressed.
...
Causes confusion for people using this feature.
2023-04-16 19:28:15 -07:00
Unknown W. Brackets
00d84695d8
headless: Rename collectEmuLog for clarity.
...
This is still used when running tests outside headless, so leaving in
CoreParameter.
2023-03-26 10:21:07 -07:00
Henrik Rydgård
acb61e4781
Merge pull request #17189 from unknownbrackets/minor-cleanup
...
Miscellaneous cleanup from recent changes
2023-03-26 09:44:29 +02:00
Unknown W. Brackets
3d4dd1ac39
Debugger: Update symbols properly on prx load.
2023-03-25 18:02:56 -07:00
Unknown W. Brackets
4e3ec384fb
headless: Use requests for debug output.
...
At least this is consistent and gets rid of host usage outside headless.
2023-03-25 17:34:29 -07:00
Henrik Rydgård
9cf7870ffa
host nullchecks
2023-03-25 11:06:47 +01:00
Henrik Rydgård
c92a4acb40
Move NotifySymbolMapUpdated to System_Notify
2023-03-21 13:37:19 +01:00
Henrik Rydgård
e1a48d74c4
A bit more GetPointer cleanup.
...
Probably not worth it for performance reasons, but some semantic cleanup
is good, especially the accidental GetPointer -> writable casts without
using GetPointerWrite.
Using Unchecked on already checked pointers, or when we'd crash anyway
if it returned nullptr, is good for clarity.
2023-01-10 12:13:47 +01:00
Unknown W. Brackets
6d9d517700
Reporting: Send game ELF crc with reports.
...
Getting a lot of spam from homebrew with different IDs that appear to be
the same actual homebrew, in part from ID generation.
2023-01-02 12:23:05 -08: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
Unknown W. Brackets
7e462c087c
Loader: Get rid of overalloc on module exec.
2022-10-09 16:42:24 -07:00
Unknown W. Brackets
d473aa6db0
Module: Cleanup file read pattern.
...
Let's always use ReadEntireFile() when we can.
2022-10-09 14:42:30 -07:00
Unknown W. Brackets
3af8a667e1
Psmf: Fix save states.
2022-10-07 07:03:29 -07:00
sum2012
d716b74480
Fix as @hrydgard suggest
2022-10-07 06:01:53 +08:00
sum2012
776e72715f
Forget remove the include
2022-10-05 20:52:47 +08:00
sum2012
de6d747cf0
Store crc change to u32
...
Should build fixed
2022-10-05 20:36:01 +08:00
sum2012
af93a7185b
Add crc record to psmfplayer
2022-10-04 09:50:33 +08:00
sum2012
bbe9c41098
Add crc record into mpeg module
2022-10-04 09:21:11 +08:00
sum2012
95e6eaa601
Add crc calculation in loading module
2022-10-04 08:29:23 +08:00
Unknown W. Brackets
ccd4e92184
Kernel: Use PSPPointer for status objects.
...
Code makes more sense when reading ->size rather than offset 0.
2022-09-03 10:44:12 -07:00
Henrik Rydgård
6b2a31dff5
Add a check to the elf loader, preventing a crash on bad module info addr
2022-03-13 23:36:18 +01:00
Henrik Rydgård
025bcb1673
Introduce Path, start using it all over the place.
...
Still lots left to convert!
Convert GetSysDirectory to return Path.
More buildfixing
Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Unknown W. Brackets
8544bd0c3e
Windows: Avoid C++ files for consistency.
...
There's already the mingw thing, and we're avoiding these for Android
paths too. Let's be consistent.
2021-05-09 17:00:48 -07:00
Unknown W. Brackets
4c1ed81d45
Module: Speed up module unload.
2021-04-16 01:03:10 -07:00
Unknown W. Brackets
6ee944a0a6
Module: Process relocations on threads.
...
There's usually quite some, and using threads can halve the load time.
ELF loading isn't terribly slow, but it adds up.
2021-04-16 00:41:56 -07:00
Unknown W. Brackets
ffd468c3ae
Reporting: Add more info to libstubend error.
2021-04-10 18:33:44 -07:00
Unknown W. Brackets
eedd0b32dd
Module: Add a missing error return case.
2021-04-10 17:11:40 -07:00
Stefano B
e496c5e8cc
Set ent_top/ent_size/stub_top/stub_size of SceModule
2021-03-30 23:15:49 +02:00
Unknown W. Brackets
f6ad90fab8
Module: Correctly handle modules with -1 entry.
...
It should not try to run, options or not.
2021-03-14 16:52:48 -07:00
Henrik Rydgård
4f48ca3d1c
Some homebrew like Triple Triad tries to load flash0:/kd/pspnet*.prx. We better just lie.
2021-03-11 00:54:19 +01:00
Henrik Rydgård
8e90d0644f
Merge pull request #14236 from unknownbrackets/reporting
...
Use full homebrew game title / id in reporting if available
2021-03-08 23:07:23 +01:00
Unknown W. Brackets
43bc865d30
Module: Avoid logging bad pointers when no nids.
2021-03-01 21:07:28 -08:00
Unknown W. Brackets
a76ba9a957
Core: Handle Disc ID a bit more consistently.
2021-02-28 10:52:35 -08:00
Henrik Rydgård
e12888844c
Merge pull request #14189 from sum2012/kernel-patch
...
sceKernelFindModuleByName:Add delay for Fake module
2021-02-27 18:17:50 +01:00
Henrik Rydgård
2f3bc2d373
Merge pull request #14056 from unknownbrackets/debugger-mem
...
Track memory allocations and writes for debug info
2021-02-21 10:18:11 +01:00