From 655b9a17e136784e9484723e8b4598e46213e974 Mon Sep 17 00:00:00 2001 From: joevt Date: Sun, 15 Jan 2023 00:07:50 -0800 Subject: [PATCH] psx: Set name of Psx memory controller. For the logs. --- devices/memctrl/psx.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/devices/memctrl/psx.cpp b/devices/memctrl/psx.cpp index 2c7a438..ba94f84 100644 --- a/devices/memctrl/psx.cpp +++ b/devices/memctrl/psx.cpp @@ -1,6 +1,6 @@ /* DingusPPC - The Experimental PowerPC Macintosh emulator -Copyright (C) 2018-22 divingkatae and maximum +Copyright (C) 2018-23 divingkatae and maximum (theweirdo) spatium (Contact divingkatae#1017 or powermax#2286 on Discord for more info) @@ -30,6 +30,8 @@ along with this program. If not, see . PsxCtrl::PsxCtrl(int bridge_num, std::string name) { + this->name = name; + supports_types(HWCompType::MEM_CTRL | HWCompType::MMIO_DEV); // add MMIO region for the PSX control registers