all repos — mgba @ 3736462c14d46671e48d867760b52e454e417de8

mGBA Game Boy Advance Emulator

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

3736462c14d46671e48d867760b52e454e417de8

parent

9bee2f4cd3db42062731756c7080aeb4c3891300

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) {