Merge pull request #52 from lioncash/typo ARM: ARMHotplugDetach should call deinit
endrift jeffrey@endrift.com
Mon, 29 Jun 2015 19:20:15 -0700
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) {