mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-06 22:04:10 +08:00
还有个地方要改的,继续提交
This commit is contained in:
parent
8aa7f28660
commit
34a82f430d
@ -317,7 +317,7 @@ static CodeLocation rom_fit_newsize( CodeLocation rom, int realend, int totalsiz
|
|||||||
CodeLocation found=NULL, current=NULL;
|
CodeLocation found=NULL, current=NULL;
|
||||||
int szfound=0, szcurrent=0;
|
int szfound=0, szcurrent=0;
|
||||||
int reallen = realend / sizeof(instruction_t);
|
int reallen = realend / sizeof(instruction_t);
|
||||||
for( int i=0; i < realend; ++i )
|
for( int i=0; i < reallen; ++i )
|
||||||
{
|
{
|
||||||
if( rom[i] == 0 )
|
if( rom[i] == 0 )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user