mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 03:08:36 +12:00
Patch system: export some info for future use
For now it's just a list of addresses. For now it's not used (just a stub).
This commit is contained in:
parent
fad89f1c3b
commit
b7ff2ecffb
4 changed files with 32 additions and 26 deletions
|
@ -129,15 +129,15 @@ public:
|
|||
void append_title_patches(const std::string& title_id);
|
||||
|
||||
// Apply patch (returns the number of entries applied)
|
||||
usz apply(const std::string& name, u8* dst);
|
||||
std::basic_string<u32> apply(const std::string& name, u8* dst);
|
||||
|
||||
// Apply patch with a check that the address exists in SPU local storage
|
||||
usz apply_with_ls_check(const std::string& name, u8* dst, u32 filesz, u32 ls_addr);
|
||||
std::basic_string<u32> apply_with_ls_check(const std::string& name, u8* dst, u32 filesz, u32 ls_addr);
|
||||
|
||||
private:
|
||||
// Internal: Apply patch (returns the number of entries applied)
|
||||
template <bool check_local_storage>
|
||||
usz apply_patch(const std::string& name, u8* dst, u32 filesz, u32 ls_addr);
|
||||
template <bool CheckLS>
|
||||
std::basic_string<u32> apply_patch(const std::string& name, u8* dst, u32 filesz, u32 ls_addr);
|
||||
|
||||
// Database
|
||||
patch_map m_map;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue