From 302ef55d01cec81c0717f3f15ab393e5c6619301 Mon Sep 17 00:00:00 2001 From: anod <182859762@qq.com> Date: Fri, 17 Mar 2023 21:06:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=BA=86size?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/arm11/cheat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/arm11/cheat.c b/source/arm11/cheat.c index 9638fa5..e060cf5 100644 --- a/source/arm11/cheat.c +++ b/source/arm11/cheat.c @@ -401,7 +401,7 @@ static CodeLocation rom_fit_newsize( CodeLocation rom, int realend, int totalsiz // grow cart volumn else if( szrom < size || nextPow2(size) != nextPow2(szrom) ) - *newsize = size + INSTR_SIZE; + *newsize = size; return rom + INSTR_LEN( realend ); }