cellGcm HLE: fix cellGcmMapMainMemory

Fix arguments order, softcode RsxReports::report offset.
This commit is contained in:
Eladash 2020-01-31 15:59:44 +02:00 committed by kd-11
parent b7043ce000
commit 9d1bb60ad7
2 changed files with 10 additions and 8 deletions

View file

@ -81,7 +81,7 @@ namespace rsx
{
if (offset < sizeof(RsxReports::report) /*&& (offset % 0x10) == 0*/)
{
return render->label_addr + 0x1400 + offset;
return render->label_addr + ::offset32(&RsxReports::report) + offset;
}
msg = "Local RSX REPORT offset out of range!"sv;