Commit Graph

391 Commits

Author SHA1 Message Date
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