all repos — mgba @ 0a137fa8e908b3ec88efb6e71ab3a72fff40885a

mGBA Game Boy Advance Emulator

arm: ARMHotplugDetach should call deinit.
Lioncash mathew1800@gmail.com
Mon, 29 Jun 2015 03:15:37 -0400
commit

0a137fa8e908b3ec88efb6e71ab3a72fff40885a

parent

d4e4a9d32354f9c134978c00ff81d9dc7dd0ef13

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/arm/arm.csrc/arm/arm.c

@@ -108,7 +108,7 @@ void ARMHotplugDetach(struct ARMCore* cpu, size_t slot) {

if (slot >= cpu->numComponents) { return; } - cpu->components[slot]->init(cpu, cpu->components[slot]); + cpu->components[slot]->deinit(cpu->components[slot]); } void ARMReset(struct ARMCore* cpu) {