sim: arm: add missing breaks to SWI processing

Seems unlikely we want the remove syscall to fallthrough into the
rename syscall since we can't rename files that have been removed.
This commit is contained in:
Mike Frysinger 2023-12-21 01:27:18 -05:00
parent c5190830db
commit 3cf7f9363d

View File

@ -697,11 +697,13 @@ ARMul_OSHandleSWI (ARMul_State * state, ARMword number)
case AngelSWI_Reason_Remove:
SWIremove (state,
ARMul_ReadWord (state, addr));
break;
case AngelSWI_Reason_Rename:
SWIrename (state,
ARMul_ReadWord (state, addr),
ARMul_ReadWord (state, addr + 4));
break;
}
}
else