mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-26 22:38:17 +00:00
M4: fix warnings
svn-id: r52148
This commit is contained in:
parent
4d64004aa7
commit
ee23fe34b0
@ -157,12 +157,12 @@ int32 Machine::execInstruction() {
|
||||
_code->loadInstruction(instruction);
|
||||
|
||||
if (instruction.instr >= 64) {
|
||||
if (machineConditionalsTable[instruction.instr - 64] != NULL)
|
||||
if (machineConditionalsTable[instruction.instr - 64] != 0)
|
||||
(this->*machineConditionalsTable[instruction.instr - 64])(instruction);
|
||||
/* The next line is to yield on unimplemented opcodes */
|
||||
else { fflush(stdout); g_system->delayMillis(5000); }
|
||||
} else if (instruction.instr > 0) {
|
||||
if (machineCommandsTable[instruction.instr] != NULL)
|
||||
if (machineCommandsTable[instruction.instr] != 0)
|
||||
done = !(this->*machineCommandsTable[instruction.instr])(instruction);
|
||||
/* The next line is to yield on unimplemented opcodes */
|
||||
else { fflush(stdout); g_system->delayMillis(5000); }
|
||||
|
@ -226,7 +226,7 @@ bool Sequence::runProgram() {
|
||||
while (!done) {
|
||||
Instruction instruction;
|
||||
_code->loadInstruction(instruction);
|
||||
if (sequenceCommandsTable[instruction.instr] != NULL)
|
||||
if (sequenceCommandsTable[instruction.instr] != 0)
|
||||
done = !(this->*sequenceCommandsTable[instruction.instr])(instruction);
|
||||
else { fflush(stdout); /*g_system->delayMillis(1000);*/ }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user