arm: ARMHotplugDetach should call deinit.

This commit is contained in:
Lioncash 2015-06-29 03:15:37 -04:00
parent 9bee2f4cd3
commit 3736462c14
1 changed files with 1 additions and 1 deletions

View File

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