summaryrefslogtreecommitdiff
path: root/plugins/ao/eng_dsf/aica.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ao/eng_dsf/aica.h')
-rw-r--r--plugins/ao/eng_dsf/aica.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/ao/eng_dsf/aica.h b/plugins/ao/eng_dsf/aica.h
index f01468f3..a3b1c3c8 100644
--- a/plugins/ao/eng_dsf/aica.h
+++ b/plugins/ao/eng_dsf/aica.h
@@ -15,13 +15,15 @@ typedef int8 data8_t;
typedef int16 data16_t;
typedef int32 data32_t;
typedef int offs_t;
+struct sARM7;
struct AICAinterface
{
int num;
+ struct sARM7 *cpu;
void *region[MAX_AICA];
int mixing_level[MAX_AICA]; /* volume */
- void (*irq_callback[MAX_AICA])(int state); /* irq callback */
+ void (*irq_callback[MAX_AICA])(struct sARM7 *cpu, int state); /* irq callback */
};
int AICA_sh_start(struct AICAinterface *intf);
@@ -41,4 +43,6 @@ WRITE16_HANDLER( AICA_1_w );
WRITE16_HANDLER( AICA_MidiIn );
READ16_HANDLER( AICA_MidiOutR );
+void *aica_start(const void *config);
+
#endif