mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 10:42:36 +01:00
Fixup for #10779
This commit is contained in:
parent
b40ed5bdb7
commit
ad6a72e369
@ -967,8 +967,6 @@ void patch_engine::unload(const std::string& name)
|
|||||||
const auto& container = m_map.at(name);
|
const auto& container = m_map.at(name);
|
||||||
|
|
||||||
for (const auto& [description, patch] : container.patch_info_map)
|
for (const auto& [description, patch] : container.patch_info_map)
|
||||||
{
|
|
||||||
for (const auto& [title, serials] : patch.titles)
|
|
||||||
{
|
{
|
||||||
for (auto& entry : patch.data_list)
|
for (auto& entry : patch.data_list)
|
||||||
{
|
{
|
||||||
@ -983,7 +981,6 @@ void patch_engine::unload(const std::string& name)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
void patch_engine::save_config(const patch_map& patches_map)
|
void patch_engine::save_config(const patch_map& patches_map)
|
||||||
{
|
{
|
||||||
|
@ -608,7 +608,6 @@ static auto ppu_load_exports(ppu_linkage_info* link, u32 exports_start, u32 expo
|
|||||||
if (_sf && (_sf->flags & MFF_FORCED_HLE))
|
if (_sf && (_sf->flags & MFF_FORCED_HLE))
|
||||||
{
|
{
|
||||||
// Inject a branch to the HLE implementation
|
// Inject a branch to the HLE implementation
|
||||||
const u32 _entry = vm::read32(faddr);
|
|
||||||
const u32 target = g_fxo->get<ppu_function_manager>().func_addr(_sf->index) + 4;
|
const u32 target = g_fxo->get<ppu_function_manager>().func_addr(_sf->index) + 4;
|
||||||
|
|
||||||
// Set exported function
|
// Set exported function
|
||||||
|
@ -506,6 +506,7 @@ struct ppu_far_jumps_t
|
|||||||
|
|
||||||
u32 ppu_get_far_jump(u32 pc)
|
u32 ppu_get_far_jump(u32 pc)
|
||||||
{
|
{
|
||||||
|
g_fxo->init<ppu_far_jumps_t>();
|
||||||
return g_fxo->get<const ppu_far_jumps_t>().get_target(pc);
|
return g_fxo->get<const ppu_far_jumps_t>().get_target(pc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user