mirror of https://github.com/mgba-emu/mgba.git
Merge pull request #52 from lioncash/typo
ARM: ARMHotplugDetach should call deinit
This commit is contained in:
commit
1c367c390e
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue