diff options
author | Determinant <ted.sybil@gmail.com> | 2018-01-02 12:09:24 +0800 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2018-01-02 12:09:24 +0800 |
commit | 3afd5872514945bbec6c0e4656b491b2b21e7651 (patch) | |
tree | 1420b98b9d2ca267e67c8135e536bbd8a738f9c6 /src/mos6502.rs | |
parent | 8ec734721562c4b1dc6a4c2dc2ed197b9f6a49d1 (diff) |
add first-order filters and quick-fixes to APU
Diffstat (limited to 'src/mos6502.rs')
-rw-r--r-- | src/mos6502.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mos6502.rs b/src/mos6502.rs index d7bcb04..5f64b59 100644 --- a/src/mos6502.rs +++ b/src/mos6502.rs @@ -602,7 +602,7 @@ pub struct CPU<'a> { ea: u16, /* effective address */ imm_val: u8, pub cycle: u32, - pub elapsed: u32, + //pub elapsed: u32, int: Option<IntType>, pub mem: CPUMemory<'a>, //sec_callback: &'a mut FnMut(), @@ -655,7 +655,7 @@ impl<'a> CPU<'a> { opr: 0, ea: 0, imm_val: 0, int: None, acc: false, - mem, elapsed: 0/*, sec_callback*/} + mem, /*elapsed: 0, sec_callback*/} } pub fn powerup(&mut self) { |