Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrakisk committed Oct 14, 2024
1 parent a9ddf13 commit 6f79bda
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/bus/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ impl Bus {
pub fn new() -> Self {
Bus { memory: [0; 65536] }
}
// consider returning reference to memory instead of copying,
// because some instructions need to update it in place

pub fn mem_read(&self, address: u16) -> u8 {
return self.memory[address as usize];
}
Expand Down

0 comments on commit 6f79bda

Please sign in to comment.