1
0
mirror of https://github.com/mre/mos6502.git synced 2024-06-01 14:41:38 +00:00

Remove unnecessary fixme comment (#37)

This commit is contained in:
Matthias 2021-05-16 17:21:56 +02:00 committed by GitHub
parent 424262cd36
commit 6fdd561b02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,8 +151,6 @@ impl StackPointer {
STACK_ADDRESS_LO + AddressDiff(i32::from(self.0))
}
// JAM: FIXME: Should we prevent overflow here? What would a 6502 do?
pub fn decrement(&mut self) {
self.0 = self.0.wrapping_sub(1);
}