diff options
-rw-r--r-- | src/memory.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/memory.rs b/src/memory.rs index 78fd716..10980e7 100644 --- a/src/memory.rs +++ b/src/memory.rs @@ -1,7 +1,7 @@ #![allow(dead_code)] use ppu::PPU; use apu::APU; -use utils::{Sampler, Read, Write, load_prefix, save_prefix}; +use utils::{Read, Write, load_prefix, save_prefix}; use mos6502::CPU; use cartridge::MirrorType; use mapper::RefMapper; @@ -28,8 +28,7 @@ pub struct CPUBus<'a> { } macro_rules! CPUBUS_IGNORED_SIZE { - () => (size_of::<RefCell<Sampler>>() + - size_of::<*mut CPU>() + + () => (size_of::<*mut CPU>() + size_of::<*mut PPU>() + size_of::<*mut APU>()) } |