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
1 changed files with 3 additions and 1 deletions

View File

@ -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 <https://www.gnu.org/licenses/>.
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