mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 06:29:00 +01:00
Merge pull request #1842 from magumagu/hle-crash
OSREPORT: Fix out-of-bounds string access.
This commit is contained in:
commit
c1962ac9a6
@ -88,7 +88,7 @@ void GetStringVA(std::string& _rOutBuffer, u32 strReg)
|
||||
}
|
||||
else
|
||||
{
|
||||
if ((string[i-2] == 'l') && (string[i-1] == 'l')) // hax, just seen this on sysmenu osreport
|
||||
if (string[i-1] == 'l' && string[i-2] == 'l') // hax, just seen this on sysmenu osreport
|
||||
{
|
||||
Parameter = GPR(++ParameterCounter);
|
||||
Parameter = (Parameter<<32)|GPR(++ParameterCounter);
|
||||
|
Loading…
x
Reference in New Issue
Block a user