remove AR code size limit (#1802)

Co-authored-by: Arisotura <thetotalworm@gmail.com>
This commit is contained in:
StraDaMa
2023-08-27 04:34:11 -07:00
committed by GitHub
parent 2bd12669b2
commit bc71618457
4 changed files with 14 additions and 32 deletions

View File

@ -110,7 +110,7 @@ void RunCheat(ARCode& arcode)
for (;;)
{
if (code >= &arcode.Code[arcode.CodeLen])
if (code >= &arcode.Code[arcode.Code.size()])
break;
u32 a = *code++;