all repos — mgba @ 1c367c390e6d2c8b49095dbafb3e64a10c9a2b56

mGBA Game Boy Advance Emulator

Merge pull request #52 from lioncash/typo

ARM: ARMHotplugDetach should call deinit
endrift jeffrey@endrift.com
Mon, 29 Jun 2015 19:20:15 -0700
commit

1c367c390e6d2c8b49095dbafb3e64a10c9a2b56

parent

5f8548b8dca9a8e8979c1996ed8333e5dc043420

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