summaryrefslogtreecommitdiff
path: root/plugins/ao/eng_dsf/dc_hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ao/eng_dsf/dc_hw.c')
-rw-r--r--plugins/ao/eng_dsf/dc_hw.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/ao/eng_dsf/dc_hw.c b/plugins/ao/eng_dsf/dc_hw.c
index 6c810b37..769e128a 100644
--- a/plugins/ao/eng_dsf/dc_hw.c
+++ b/plugins/ao/eng_dsf/dc_hw.c
@@ -176,3 +176,7 @@ static struct AICAinterface aica_interface =
cpu->AICA = aica_start(&cpu->aica_interface);
}
+void dc_hw_free (struct sARM7 *cpu) {
+ aica_stop (cpu->AICA);
+ cpu->AICA = NULL;
+}