1
0
mirror of https://github.com/mre/mos6502.git synced 2024-06-04 18:29:36 +00:00
This commit is contained in:
Sam M W 2024-04-27 14:16:40 +01:00
parent 8704fd55bf
commit b62b6c74b0

View File

@ -207,9 +207,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]))
}
};