1
0
mirror of https://github.com/mre/mos6502.git synced 2024-06-15 13:29:32 +00:00
This commit is contained in:
Sam M W 2024-04-27 14:16:40 +01:00
parent 05d52d02e1
commit 80d14a2d13

View File

@ -218,9 +218,7 @@ impl<M: Bus, V: Variant> CPU<M, V> {
// (Output: a 16-bit address)
let start = slice[0];
let slice = read_address(memory, u16::from(start));
OpInput::UseAddress(
address_from_bytes(slice[0], slice[1])
)
OpInput::UseAddress(address_from_bytes(slice[0], slice[1]))
}
};