chore: minor changes
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
@@ -79,8 +79,8 @@ main(int argc, const char* argv[]) {
|
||||
|
||||
{
|
||||
Memory memory(std::move(bios), std::move(rom));
|
||||
Bus bus(std::make_shared<Memory>(memory));
|
||||
Cpu cpu(std::make_shared<Bus>(bus));
|
||||
Bus bus(memory);
|
||||
Cpu cpu(bus);
|
||||
cpu.step();
|
||||
}
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user