mirror of
https://github.com/balt-dev/r6502.git
synced 2024-06-15 21:29:32 +00:00
Documentation typo
This commit is contained in:
parent
37d2f65d4d
commit
9a843bcfca
|
@ -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."
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user