From 0e80259674fa3982ae110adfcfe7c28f37e1dde8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A0rius=20Mont=C3=B3n?= Date: Sun, 21 Feb 2021 16:17:57 +0100 Subject: [PATCH] call to sc_module constructor --- src/Debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Debug.cpp b/src/Debug.cpp index 58326bc..6fed818 100644 --- a/src/Debug.cpp +++ b/src/Debug.cpp @@ -20,7 +20,7 @@ constexpr char nibble_to_hex[16] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f' }; -Debug::Debug(CPU *cpu, Memory* mem) { +Debug::Debug(CPU *cpu, Memory* mem): sc_module(std::string("Debug")) { dbg_cpu = cpu; dbg_mem = mem;