diff --git a/Cargo.toml b/Cargo.toml index d9c0e43..be8af45 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "r6502" -version = "1.0.4" +version = "1.0.5" authors = ["baltdev"] edition = "2021" description = "A simple NMOS 6502 emulator." diff --git a/src/emulation.rs b/src/emulation.rs index 443f174..a457c2e 100644 --- a/src/emulation.rs +++ b/src/emulation.rs @@ -13,8 +13,8 @@ pub trait ReadCallback { /// A trait dictating a memory write callback for an emulator. /// If you want to easily create a one-off implementation, see [`FunctionWriteCallback`]. pub trait WriteCallback { - /// The callback to be called when memory is read. - /// This will be called in place of actually reading the memory! + /// The callback to be called when memory is written. + /// This will be called in place of actually writing the memory! fn callback(&mut self, state: &mut State, address: u16, byte: u8); }