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:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Resident Evil Code Veronica X [NPUB30467]
#6
(02-27-2017, 03:32 PM)Annie Wrote: It's not kd-11's PR, it's a Nekotekina PR that was made a few days ago regarding Stack Overflows.

Quote:Pull request #2391 - [WIP] Improve texture cache
gl: Ignore invalid buffer definitions; drop depth subresource restrictions
0.0.1-3975
a day ago by kd-11
I test this PR and see work and I look this name and think relate kd-11


I Change
Quote: if (context.gpr[1] < context.stack_addr)
{
fmt::throw_exception("Stack overflow (size=0x%x, align=0x%x, SP=0x%llx, stack=*0x%x)" HERE, size, align_v, old_pos, context.stack_addr);
}
To

Quote:if (context.gpr[1] < 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;
}
and see work resident evil code veronica

I Now look and see Nekotekina change this line
Quote: if (old_pos >= context.stack_addr && old_pos < context.stack_addr + context.stack_size && context.gpr[1] < context.stack_addr)
{
fmt::throw_exception("Stack overflow (size=0x%x, align=0x%x, SP=0x%llx, stack=*0x%x)" HERE, size, align_v, old_pos, context.stack_addr);
}
Reply


Messages In This Thread
RE: Resident Evil Code Veronica X [NPUB30467] - by aakh1361 - 02-27-2017, 05:47 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)