shorten redundant pc expression

This commit is contained in:
ipc 2023-08-13 17:11:36 +02:00
parent ad7ba1151a
commit 94d2fb7499
1 changed files with 1 additions and 4 deletions

View File

@ -409,9 +409,6 @@ impl Cpu {
self.pc += 4; self.pc += 4;
inst.execute(self); inst.execute(self);
if self.pc == 0 { return self.pc != 0;
return false;
}
true
} }
} }