Merge pull request #52 from lioncash/typo

ARM: ARMHotplugDetach should call deinit
This commit is contained in:
endrift 2015-06-29 19:20:15 -07:00
commit 1c367c390e

View File

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