Skip to content

Commit

Permalink
Fix calling __interrupt function from __interrupt function
Browse files Browse the repository at this point in the history
  • Loading branch information
drmortalwombat committed Mar 7, 2023
1 parent 9662f5e commit c397762
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions oscar64/NativeCodeGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36506,6 +36506,9 @@ void NativeCodeProcedure::Compile(InterCodeProcedure* proc)
mExitBlock->mIns.Push(NativeCodeInstruction(ASMIT_TAX));
mExitBlock->mIns.Push(NativeCodeInstruction(ASMIT_PLA));
}

// We safe all registers
proc->mLinkerObject->mFlags |= LOBJF_ZEROPAGESET;
}
else
{
Expand Down

0 comments on commit c397762

Please sign in to comment.