mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Patches/PPU: Implement HLE/LLE/With-TOC function call patches
Example patches: [ jumpf, 0x12340, "cellGcmSys:cellGcmSetFlip"] // Places a call to cellGcmSetFlip at 0x12340 [ jumpf, 0x12340, "cellGcmSys:0xDC09357E"] // Same, using FNID [ jumpf, 0x12340, 0x2345678 ] # Function OPD based call eading OPD at 0x2345678
This commit is contained in:
parent
b217e8384c
commit
65c9cd99cd
9 changed files with 246 additions and 31 deletions
|
|
@ -307,6 +307,15 @@ public:
|
|||
|
||||
static constexpr u32 call_history_max_size = 4096;
|
||||
|
||||
struct hle_func_call_with_toc_info_t
|
||||
{
|
||||
u32 cia;
|
||||
u64 saved_lr;
|
||||
u64 saved_r2;
|
||||
};
|
||||
|
||||
std::vector<hle_func_call_with_toc_info_t> hle_func_calls_with_toc_info;
|
||||
|
||||
// For named_thread ctor
|
||||
const struct thread_name_t
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue