Persona 5 [NPJB00769]
Started by ssshadow




27 posts in this topic
Dante38490
Unregistered


 
01-09-2017, 03:08 PM -
#5
(01-08-2017, 05:27 PM)ssshadow Wrote: Changes made
In \Emu\Cell\PPUThread.cpp change:
Code:
        if (context.gpr[1] < context.stack_addr)
        {
            LOG_ERROR(PPU, "Stack overflow (size=0x%x, align=0x%x, SP=0x%llx, stack=*0x%x)" HERE, size, align_v, old_pos, context.stack_addr);
            const u32 addr = static_cast<u32>(context.gpr[1]);
            vm::ps3::_ref<nse_t<u32>>(addr + size) = old_pos;
            std::memset(vm::base(addr), 0, size);
            return addr;
        }
        else
        {
            const u32 addr = static_cast<u32>(context.gpr[1]);
            vm::ps3::_ref<nse_t<u32>>(addr + size) = old_pos;
            std::memset(vm::base(addr), 0, size);
            return addr;
        }
Into:
Code:
        const u32 addr = static_cast<u32>(context.gpr[1]);
        vm::ps3::_ref<nse_t<u32>>(addr + size) = old_pos;
        std::memset(vm::base(addr), 0, size);
        return addr;

Thx Smile but me have set with this
Quote: if (context.gpr[1] < context.stack_addr)
{
LOG_ERROR(PPU, "Stack overflow (size=0x%x, align=0x%x, SP=0x%llx, stack=*0x%x)" HERE, size, align_v, old_pos, context.stack_addr);
const u32 addr = static_cast<u32>(context.gpr[1]);
vm::ps3::_ref<nse_t<u32>>(addr + size) = old_pos;
std::memset(vm::base(addr), 0, size);
return addr;
}
else
{
const u32 addr = static_cast<u32>(context.gpr[1]);
vm::ps3::_ref<nse_t<u32>>(addr + size) = old_pos;
std::memset(vm::base(addr), 0, size);
return addr;
}
for rpcs3 indicate in error in LOG Smile, and rpcs3 indicate this error for boot, after boot have no error
Quote:E {PPU[0x70000000] Thread (main_thread) [0x00b48a50]} PPU: Stack overflow (size=0x8, align=0x4, SP=0x2034c360, stack=*0xd0000000)
(in file Emu\Cell\PPUThread.cpp:411)
E {PPU[0x70000000] Thread (main_thread) [0x00b48a50]} PPU: Stack overflow (size=0x8, align=0x4, SP=0x2034c360, stack=*0xd0000000)
(in file Emu\Cell\PPUThread.cpp:411)
E {PPU[0x70000000] Thread (main_thread) [0x00b48a50]} PPU: Stack overflow (size=0x8, align=0x4, SP=0x2034c120, stack=*0xd0000000)
(in file Emu\Cell\PPUThread.cpp:411)


Messages In This Thread
RE: Persona 5 [NPJB00769] - by ssshadow - 09-15-2016, 04:49 PM
RE: Persona 5 [NPJB00769] - by Bryceless - 09-15-2016, 10:46 PM
RE: Persona 5 [NPJB00769] - by Nezarn - 09-16-2016, 07:59 AM
RE: Persona 5 [NPJB00769] - by ssshadow - 01-08-2017, 05:27 PM
RE: Persona 5 [NPJB00769] - by Dante38490 - 01-09-2017, 03:08 PM
RE: Persona 5 [NPJB00769] - by kd-11 - 01-09-2017, 06:17 PM
RE: Persona 5 [NPJB00769] - by ssshadow - 01-09-2017, 06:37 PM
RE: Persona 5 [NPJB00769] - by kd-11 - 01-11-2017, 11:22 AM
RE: Persona 5 [NPJB00769] - by ssshadow - 01-11-2017, 03:19 PM
RE: Persona 5 [NPJB00769] - by ssshadow - 02-08-2017, 03:32 PM
RE: Persona 5 [NPJB00769] - by ssshadow - 02-15-2017, 01:01 AM
RE: Persona 5 [NPJB00769] - by digitaldude - 02-15-2017, 01:40 PM
RE: Persona 5 [NPJB00769] - by ssshadow - 02-15-2017, 01:47 PM
RE: Persona 5 [NPJB00769] - by digitaldude - 02-15-2017, 01:59 PM
RE: Persona 5 [NPJB00769] - by ssshadow - 02-15-2017, 02:12 PM
RE: Persona 5 [NPJB00769] - by ssshadow - 02-15-2017, 11:17 PM
RE: Persona 5 [NPJB00769] - by MagicWorld - 02-24-2017, 01:34 PM
RE: Persona 5 [NPJB00769] - by ssshadow - 02-24-2017, 06:00 PM
RE: Persona 5 [NPJB00769] - by ssshadow - 02-25-2017, 07:58 PM
RE: Persona 5 [NPJB00769] - by mattia12 - 03-07-2017, 07:44 PM
RE: Persona 5 [NPJB00769] - by Annie - 03-07-2017, 07:51 PM
RE: Persona 5 [NPJB00769] - by mattia12 - 03-07-2017, 07:56 PM
RE: Persona 5 [NPJB00769] - by ssshadow - 03-08-2017, 01:34 AM
RE: Persona 5 [NPJB00769] - by mattia12 - 03-08-2017, 08:16 AM
RE: Persona 5 [NPJB00769] - by ssshadow - 03-08-2017, 01:33 PM
RE: Persona 5 [NPJB00769] - by blastprocessing - 03-18-2017, 10:34 PM
RE: Persona 5 [NPJB00769] - by ssshadow - 04-03-2017, 07:40 PM
RE: Persona 5 [NPJB00769] - by ssshadow - 08-03-2017, 08:47 PM

Forum Jump:


Users browsing this thread: 6 Guest(s)