psx: Set name of Psx memory controller.

For the logs.
This commit is contained in:
joevt 2023-01-15 00:07:50 -08:00 committed by dingusdev
parent 84a694d4c2
commit 655b9a17e1

View File

@ -1,6 +1,6 @@
/* /*
DingusPPC - The Experimental PowerPC Macintosh emulator DingusPPC - The Experimental PowerPC Macintosh emulator
Copyright (C) 2018-22 divingkatae and maximum Copyright (C) 2018-23 divingkatae and maximum
(theweirdo) spatium (theweirdo) spatium
(Contact divingkatae#1017 or powermax#2286 on Discord for more info) (Contact divingkatae#1017 or powermax#2286 on Discord for more info)
@ -30,6 +30,8 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
PsxCtrl::PsxCtrl(int bridge_num, std::string name) PsxCtrl::PsxCtrl(int bridge_num, std::string name)
{ {
this->name = name;
supports_types(HWCompType::MEM_CTRL | HWCompType::MMIO_DEV); supports_types(HWCompType::MEM_CTRL | HWCompType::MMIO_DEV);
// add MMIO region for the PSX control registers // add MMIO region for the PSX control registers