arm: ARMHotplugDetach should call deinit.
Lioncash mathew1800@gmail.com
Mon, 29 Jun 2015 03:15:37 -0400
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/arm/arm.c
→
src/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) {