summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-03-03 01:51:31 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-03-03 01:51:31 +0000
commite31f9a631301dace92853014f9c8a909f7e02d3e (patch)
tree7a628da91c1e779225f87c96f5b80373e8496f38 /src/emu/debug
parent05702939cde6179483f2b0f586ec1fb696933e41 (diff)
Normalized function pointer typedefs: they are now all
suffixed with _func. Did this throughout the core and drivers I was familiar with. Fixed gcc compiler error with recent render.c changes. gcc does not like explicit (int) casts on float or double functions. This is fracking annoying and stupid, but there you have it.
Diffstat (limited to 'src/emu/debug')
-rw-r--r--src/emu/debug/debugcpu.c2
-rw-r--r--src/emu/debug/debugcpu.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/debug/debugcpu.c b/src/emu/debug/debugcpu.c
index 8a35e880952..0ba3ebd02d2 100644
--- a/src/emu/debug/debugcpu.c
+++ b/src/emu/debug/debugcpu.c
@@ -1100,7 +1100,7 @@ static void standard_debug_hook_write(int spacenum, int size, offs_t address, UI
for the specified CPU
-------------------------------------------------*/
-void debug_get_memory_hooks(int cpunum, debug_hook_read_ptr *read, debug_hook_write_ptr *write)
+void debug_get_memory_hooks(int cpunum, debug_hook_read_func *read, debug_hook_write_func *write)
{
memory_hook_cpunum = cpunum;
diff --git a/src/emu/debug/debugcpu.h b/src/emu/debug/debugcpu.h
index 8cbffe22cfa..7eaeaf383e5 100644
--- a/src/emu/debug/debugcpu.h
+++ b/src/emu/debug/debugcpu.h
@@ -54,8 +54,8 @@ enum
TYPE DEFINITIONS
***************************************************************************/
-typedef void (*debug_hook_read_ptr)(int spacenum, int size, offs_t address);
-typedef void (*debug_hook_write_ptr)(int spacenum, int size, offs_t address, UINT64 data);
+typedef void (*debug_hook_read_func)(int spacenum, int size, offs_t address);
+typedef void (*debug_hook_write_func)(int spacenum, int size, offs_t address, UINT64 data);
typedef struct _debug_trace_info debug_trace_info;
@@ -183,7 +183,7 @@ void debug_flush_traces(void);
/* debugging hooks */
void debug_interrupt_hook(int cpunum, int irqline);
-void debug_get_memory_hooks(int cpunum, debug_hook_read_ptr *read, debug_hook_write_ptr *write);
+void debug_get_memory_hooks(int cpunum, debug_hook_read_func *read, debug_hook_write_func *write);
void debug_set_instruction_hook(int cpunum, int (*hook)(offs_t pc));
/* execution control */