mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-12 13:13:43 +00:00
parent
6b3b06df25
commit
16c6b44f55
@ -2076,7 +2076,7 @@ extern void ppu_precompile(std::vector<std::string>& dir_queue, std::vector<lv2_
|
|||||||
const std::string firmware_sprx_path = vfs::get("/dev_flash/sys/external/");
|
const std::string firmware_sprx_path = vfs::get("/dev_flash/sys/external/");
|
||||||
|
|
||||||
// Map fixed address executables area, fake overlay support
|
// Map fixed address executables area, fake overlay support
|
||||||
const bool had_ovl = !vm::map(0x3000'0000, 0x1000'0000, 0x200).operator bool();
|
const bool had_ovl = !vm::map(0x3000'0000, 0x1000'0000, 0x202).operator bool();
|
||||||
const u32 ppc_seg = std::exchange(g_ps3_process_info.ppc_seg, 0x3);
|
const u32 ppc_seg = std::exchange(g_ps3_process_info.ppc_seg, 0x3);
|
||||||
|
|
||||||
std::vector<std::pair<std::string, u64>> file_queue;
|
std::vector<std::pair<std::string, u64>> file_queue;
|
||||||
@ -2337,7 +2337,7 @@ extern void ppu_precompile(std::vector<std::string>& dir_queue, std::vector<lv2_
|
|||||||
|
|
||||||
if (!had_ovl)
|
if (!had_ovl)
|
||||||
{
|
{
|
||||||
vm::unmap(0x3000'0000);
|
ensure(vm::unmap(0x3000'0000));
|
||||||
}
|
}
|
||||||
|
|
||||||
g_ps3_process_info.ppc_seg = ppc_seg;
|
g_ps3_process_info.ppc_seg = ppc_seg;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user