diff options
author | 2010-12-31 21:42:55 +0000 | |
---|---|---|
committer | 2010-12-31 21:42:55 +0000 | |
commit | 3b41606ca0c02056604a55a7b1f5165e80bc11fb (patch) | |
tree | 415d338c92efb4c7f1d4922255060f279d1d4fa2 /src/emu/cpu/jaguar | |
parent | 2ca38fad3e665d2e4e0212263a07819d36f4ba7f (diff) |
running_device -> device_t
They both already existed. No sense in having two names for the
same object type.
Diffstat (limited to 'src/emu/cpu/jaguar')
-rw-r--r-- | src/emu/cpu/jaguar/jaguar.c | 10 | ||||
-rw-r--r-- | src/emu/cpu/jaguar/jaguar.h | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/src/emu/cpu/jaguar/jaguar.c b/src/emu/cpu/jaguar/jaguar.c index aaae363a8d7..ddcf2c7df91 100644 --- a/src/emu/cpu/jaguar/jaguar.c +++ b/src/emu/cpu/jaguar/jaguar.c @@ -249,7 +249,7 @@ static void (*const dsp_op_table[64])(jaguar_state *jaguar, UINT16 op) = INLINE FUNCTIONS ***************************************************************************/ -INLINE jaguar_state *get_safe_token(running_device *device) +INLINE jaguar_state *get_safe_token(device_t *device) { assert(device != NULL); assert(device->type() == JAGUARGPU || @@ -1237,7 +1237,7 @@ void xor_rn_rn(jaguar_state *jaguar, UINT16 op) I/O HANDLING ***************************************************************************/ -UINT32 jaguargpu_ctrl_r(running_device *device, offs_t offset) +UINT32 jaguargpu_ctrl_r(device_t *device, offs_t offset) { jaguar_state *jaguar = get_safe_token(device); @@ -1247,7 +1247,7 @@ UINT32 jaguargpu_ctrl_r(running_device *device, offs_t offset) } -void jaguargpu_ctrl_w(running_device *device, offs_t offset, UINT32 data, UINT32 mem_mask) +void jaguargpu_ctrl_w(device_t *device, offs_t offset, UINT32 data, UINT32 mem_mask) { jaguar_state *jaguar = get_safe_token(device); UINT32 oldval, newval; @@ -1333,7 +1333,7 @@ void jaguargpu_ctrl_w(running_device *device, offs_t offset, UINT32 data, UINT32 I/O HANDLING ***************************************************************************/ -UINT32 jaguardsp_ctrl_r(running_device *device, offs_t offset) +UINT32 jaguardsp_ctrl_r(device_t *device, offs_t offset) { jaguar_state *jaguar = get_safe_token(device); @@ -1345,7 +1345,7 @@ UINT32 jaguardsp_ctrl_r(running_device *device, offs_t offset) } -void jaguardsp_ctrl_w(running_device *device, offs_t offset, UINT32 data, UINT32 mem_mask) +void jaguardsp_ctrl_w(device_t *device, offs_t offset, UINT32 data, UINT32 mem_mask) { jaguar_state *jaguar = get_safe_token(device); UINT32 oldval, newval; diff --git a/src/emu/cpu/jaguar/jaguar.h b/src/emu/cpu/jaguar/jaguar.h index ef01031dce0..a29da2384d4 100644 --- a/src/emu/cpu/jaguar/jaguar.h +++ b/src/emu/cpu/jaguar/jaguar.h @@ -71,7 +71,7 @@ enum CONFIGURATION STRUCTURE ***************************************************************************/ -typedef void (*jaguar_int_func)(running_device *device); +typedef void (*jaguar_int_func)(device_t *device); typedef struct _jaguar_cpu_config jaguar_cpu_config; @@ -100,12 +100,12 @@ struct _jaguar_cpu_config ***************************************************************************/ DECLARE_LEGACY_CPU_DEVICE(JAGUARGPU, jaguargpu); -extern void jaguargpu_ctrl_w(running_device *device, offs_t offset, UINT32 data, UINT32 mem_mask); -extern UINT32 jaguargpu_ctrl_r(running_device *device, offs_t offset); +extern void jaguargpu_ctrl_w(device_t *device, offs_t offset, UINT32 data, UINT32 mem_mask); +extern UINT32 jaguargpu_ctrl_r(device_t *device, offs_t offset); DECLARE_LEGACY_CPU_DEVICE(JAGUARDSP, jaguardsp); -extern void jaguardsp_ctrl_w(running_device *device, offs_t offset, UINT32 data, UINT32 mem_mask); -extern UINT32 jaguardsp_ctrl_r(running_device *device, offs_t offset); +extern void jaguardsp_ctrl_w(device_t *device, offs_t offset, UINT32 data, UINT32 mem_mask); +extern UINT32 jaguardsp_ctrl_r(device_t *device, offs_t offset); #endif /* __JAGUAR_H__ */ |