diff options
author | 2008-06-12 16:25:34 +0000 | |
---|---|---|
committer | 2008-06-12 16:25:34 +0000 | |
commit | 50bbb369bb519b3a7eafc1f0f8fdaf7f663dcd80 (patch) | |
tree | 5224ac197c965b8c8d43031480f25a65a3312e84 /src/emu/cpu/saturn/sattable.c | |
parent | c52aacb73256181b3d82eef971d6fe1491585187 (diff) |
From: Atari Ace [mailto:atari_ace@verizon.net]
Subject: [patch] Static qualifiers, header file cleanups, and new
include files for MAME
The first patch adds static qualifiers where appropriate, adds missing
#include statements, source comments and header declarations, as well
as removes dead declarations. The only part that required judgement
was deciding whether audio/galaxian.c declarations should be in
galaxold.h or galaxian.h, it doesn't make sense for them to be
declared in both. This exercise did find a bug, galaxold_init_stars
was declared incorrectly in video/fastfred.c.
Diffstat (limited to 'src/emu/cpu/saturn/sattable.c')
-rw-r--r-- | src/emu/cpu/saturn/sattable.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/cpu/saturn/sattable.c b/src/emu/cpu/saturn/sattable.c index 2a374aeaf6d..54f59792c4e 100644 --- a/src/emu/cpu/saturn/sattable.c +++ b/src/emu/cpu/saturn/sattable.c @@ -35,25 +35,25 @@ static const int add_right[]={B,C,A,C, I,I,I,I, A,B,C,D, I,I,I,I}; static const int sub_left[] ={A,B,C,D, I,I,I,I, B,C,A,C, A,B,C,D}; static const int sub_right[]={B,C,A,C, I,I,I,I, A,B,C,D, B,C,A,C}; -void saturn_invalid3( int op1, int op2, int op3 ) +static void saturn_invalid3( int op1, int op2, int op3 ) { logerror( "SATURN#%d invalid opcode %x%x%x at %05x\n", cpu_getactivecpu(), op1, op2, op3, saturn.pc-3 ); } -void saturn_invalid4( int op1, int op2, int op3, int op4 ) +static void saturn_invalid4( int op1, int op2, int op3, int op4 ) { logerror( "SATURN#%d invalid opcode %x%x%x%x at %05x\n", cpu_getactivecpu(), op1, op2, op3, op4, saturn.pc-4 ); } -void saturn_invalid5( int op1, int op2, int op3, int op4, int op5 ) +static void saturn_invalid5( int op1, int op2, int op3, int op4, int op5 ) { logerror( "SATURN#%d invalid opcode %x%x%x%x%x at %05x\n", cpu_getactivecpu(), op1, op2, op3, op4, op5, saturn.pc-5 ); } -void saturn_invalid6( int op1, int op2, int op3, int op4, int op5, int op6 ) +static void saturn_invalid6( int op1, int op2, int op3, int op4, int op5, int op6 ) { logerror( "SATURN#%d invalid opcode %x%x%x%x%x%x at %05x\n", cpu_getactivecpu(), op1, op2, op3, op4, op5, op6, saturn.pc-6 ); |