shorten redundant pc expression
This commit is contained in:
parent
ad7ba1151a
commit
94d2fb7499
|
@ -409,9 +409,6 @@ impl Cpu {
|
|||
|
||||
self.pc += 4;
|
||||
inst.execute(self);
|
||||
if self.pc == 0 {
|
||||
return false;
|
||||
}
|
||||
true
|
||||
return self.pc != 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue