Refactor PPU and CPU classes by removing Clock dependency and updating constructors
This commit is contained in:
@@ -35,11 +35,10 @@ class DungeonObjectRenderer : public SharedRom {
|
||||
|
||||
PseudoVram vram_;
|
||||
|
||||
emu::ClockImpl clock_;
|
||||
emu::MemoryImpl memory_;
|
||||
emu::CpuCallbacks cpu_callbacks_;
|
||||
emu::Ppu ppu{memory_, clock_};
|
||||
emu::Cpu cpu{memory_, clock_, cpu_callbacks_};
|
||||
emu::Ppu ppu{memory_};
|
||||
emu::Cpu cpu{memory_, cpu_callbacks_};
|
||||
|
||||
gfx::Bitmap bitmap_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user