mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-09 15:24:09 +08:00
修正u32*到u8*
This commit is contained in:
parent
bca831ce9b
commit
a361c2d968
@ -406,7 +406,7 @@ static CodeLocation rom_fit_newsize( CodeLocation rom, int realend, int totalsiz
|
||||
u32 start = realend - INSTR_SIZE;
|
||||
memset( &rom[INSTR_LEN(start)], 0, sznrom-start );
|
||||
*newsize = sznrom;
|
||||
return rom + sznrom - ( (totalsize+0x1f) & (~0xf) );
|
||||
return rom + INSTR_LEN( sznrom - ( (totalsize+0x1f) & (~0xf) ) );
|
||||
}
|
||||
|
||||
return rom + INSTR_LEN( realend );
|
||||
|
Loading…
x
Reference in New Issue
Block a user