diff --git a/src/emu.cpp b/src/emu.cpp index fb303a3..494873c 100644 --- a/src/emu.cpp +++ b/src/emu.cpp @@ -1,7 +1,6 @@ -#include - -#include "cpu.h" #include "emu.h" +#include "cpu.h" +#include "ruc/format/print.h" void Emu::init(unsigned int frequency) { @@ -31,7 +30,7 @@ void Emu::addMemorySpace(const char* name, int size) void Emu::writeMemory(const char* memory_space, unsigned int location, uint8_t value) { - printf("%s %d %d\n", memory_space, location, value); + print("{} {} {}\n", memory_space, location, value); m_memory_spaces[memory_space][location] = value; }