This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Persona 5 [NPJB00769]
#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)
Upload you Log Here :
PC spec:
Windows 10 PRO X64 Insider 16.232
Amd Ryzen 1700X @3.8 ghz
MSI Core Frozr L
16 go Corsair Vengeance LPX PC4-25600 (3200MHz)
MSI GTX 1080 Gaming X 8G
MSI X370 Gaming Pro Carbon
500 Go SSD Samsung 960 EVO M.2
Reply


Messages In This Thread
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: 1 Guest(s)