Add uppercase -D for define without separate argument

This commit is contained in:
drmortalwombat 2024-06-28 16:00:48 +02:00
parent cd7567452a
commit 94181326ca
2 changed files with 2 additions and 2 deletions

View File

@ -23835,7 +23835,7 @@ bool NativeCodeBasicBlock::JoinTailCodeSequences(NativeCodeProcedure* proc, bool
mTrueJump->mIns.Remove(0); mTrueJump->mIns.Remove(0);
mTrueJump->mEntryRequiredRegs += CPU_REG_A; mTrueJump->mEntryRequiredRegs += CPU_REG_A;
if (mTrueJump->mIns[0].mLive & LIVE_CPU_REG_Z) if (mTrueJump->mIns.Size() > 0 && (mTrueJump->mIns[0].mLive & LIVE_CPU_REG_Z))
mTrueJump->mEntryRequiredRegs += CPU_REG_Z; mTrueJump->mEntryRequiredRegs += CPU_REG_Z;
changed = true; changed = true;

View File

@ -253,7 +253,7 @@ int main2(int argc, const char** argv)
{ {
defining = true; defining = true;
} }
else if (arg[1] == 'd') else if (arg[1] == 'd' || arg[1] == 'D')
{ {
char def[100]; char def[100];
int i = 2; int i = 2;