From c159e09ce32bbe09819f4657f43235e375f4ea99 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Thu, 18 Aug 2022 14:36:24 +0200 Subject: [PATCH] Emulator: Use formatting library print function --- src/cpu.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cpu.cpp b/src/cpu.cpp index d51d381..9277c05 100644 --- a/src/cpu.cpp +++ b/src/cpu.cpp @@ -6,10 +6,10 @@ */ #include // uint8_t, uint32_t -#include #include "cpu.h" #include "emu.h" +#include "ruc/format/print.h" CPU::CPU(uint32_t frequency) : ProcessingUnit(frequency) @@ -27,9 +27,9 @@ void CPU::update() // Read next opcode } - printf("This is an update from the CPU\n"); + print("This is an update from the CPU\n"); Emu::the().writeMemory("RAM", 123, 42); - printf("fff"); + print("fff"); } void CPU::add(uint8_t opcode, uint8_t immediate)