diff options
author | 2008-11-20 18:20:59 +0000 | |
---|---|---|
committer | 2008-11-20 18:20:59 +0000 | |
commit | 9a0493f14a1318015a5065fa8327e07ca6dfbee2 (patch) | |
tree | 989c385f055e97d048b91484a68b0e531008da09 /src/emu/cpu/tms32031/tms32031.h | |
parent | fae2eb291a4919826ea2fefb97d8aa895c83b6f7 (diff) |
Pointer-ified the TMS32031 core.
Diffstat (limited to 'src/emu/cpu/tms32031/tms32031.h')
-rw-r--r-- | src/emu/cpu/tms32031/tms32031.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/emu/cpu/tms32031/tms32031.h b/src/emu/cpu/tms32031/tms32031.h index 12d7691b749..d3f0c1c82ed 100644 --- a/src/emu/cpu/tms32031/tms32031.h +++ b/src/emu/cpu/tms32031/tms32031.h @@ -18,12 +18,17 @@ TYPE DEFINITIONS ***************************************************************************/ -struct tms32031_config +typedef void (*tms32031_xf_func)(const device_config *device, UINT8 val); +typedef void (*tms32031_iack_func)(const device_config *device, UINT8 val, offs_t address); + + +typedef struct _tms32031_config tms32031_config; +struct _tms32031_config { - UINT32 bootoffset; - void (*xf0_w)(UINT8 val); - void (*xf1_w)(UINT8 val); - void (*iack_w)(UINT8 val, offs_t addr); + UINT32 bootoffset; + tms32031_xf_func xf0_w; + tms32031_xf_func xf1_w; + tms32031_iack_func iack_w; }; |