Codeblocks must end on hitting LSS, as it can cause stack size to change dynamically. Fixes LBA2.
This commit is contained in:
parent
3a72cc9593
commit
7a4e6f7c23
1 changed files with 2 additions and 0 deletions
|
|
@ -643,6 +643,8 @@ static uint32_t ropL ## seg(uint8_t opcode, uint32_t fetchdat, uint32_t op_32, u
|
|||
STORE_REG_TARGET_W_RELEASE(host_reg, dest_reg); \
|
||||
} \
|
||||
\
|
||||
if (&rseg == &_ss) \
|
||||
CPU_BLOCK_END(); /*Instruction might change stack size, so end block here*/ \
|
||||
return op_pc + 1; \
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue