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
Unknown W. Brackets
d38c620f90
Module: Block a few network modules already HLE'd.
2021-02-20 19:06:27 -08:00
sum2012
354d263ccf
sceKernelFindModuleByName:Add delay for Fake module
...
Fix #13601
2021-02-21 08:54:11 +08:00
aliaspider
9a3e5879bb
Global: Correct many endian types and casts.
2021-02-18 22:25:24 -08:00
Unknown W. Brackets
e7b968be73
Debugger: Notate Memcpys directly as well.
2021-02-15 15:01:23 -08:00
Unknown W. Brackets
88e2b9b740
Debugger: Notate memset tags directly.
2021-02-15 15:01:23 -08:00
Unknown W. Brackets
ca7d127adc
Debugger: Notate more cases of memory clears.
2021-02-15 15:01:23 -08:00
Unknown W. Brackets
5d60fa0d0d
Common: Maintain C++11 support in sign extend.
2021-01-31 08:44:02 -08:00
Unknown W. Brackets
1b00da2f3a
Common: Sign extend w/func not chained casts.
...
Should be clearer to read and easier to get right.
2021-01-31 01:25:52 -08:00
Unknown W. Brackets
70d92139db
Headless: Simplify executing a ppdmp via headless.
2021-01-17 18:33:59 -08:00
Unknown W. Brackets
8fe9bedb78
Module: Keep the state for each import.
...
On exports, we iterate modules then imports.
But on imports, we iterate the exports to find the module, so we need to
keep the state around higher up.
2021-01-16 19:32:37 -08:00
Unknown W. Brackets
6efd1ae7f4
Module: Keep HI16/LO16 in a temp state object.
...
This doesn't need to live any longer than the link or unlink, so let's
just make that abundantly clear.
2021-01-16 11:57:37 -08:00
Unknown W. Brackets
17f3de66c5
Module: Reverse a single HI16/LO16 pair correctly.
...
If there is only one imported variable as a HI16/LO16, unloading the
module wasn't properly reversing the link. See #13104 .
2021-01-16 10:04:20 -08:00
Henrik Rydgård
5c0ab8bea3
Guess at a fix for #13698 - sceKernelThreadGetExitStatus probably takes some cycles.
2020-11-23 09:09:36 +01:00