diff options
author | 2009-06-08 05:43:50 +0000 | |
---|---|---|
committer | 2009-06-08 05:43:50 +0000 | |
commit | ce83de86a8c88053081d9f5cb8c6b83baf606fb9 (patch) | |
tree | 7729630ed967f79cecd7da3229a2c0e4675d6e60 /src/emu/cpu/dsp56k | |
parent | e7f6662790f67c60b26e93272d3d9c534fad4799 (diff) |
The other larger patch adds missing static and const qualifiers, and
fixes up some header files. In particular, I adjusted const char
*DEVTEMPLATE_SOURCE = __FILE__ to const char DEVTEMPLATE_SOURCE[] =
__FILE__ which makes it actually const and saves a little memory.
[Atari Ace]
Diffstat (limited to 'src/emu/cpu/dsp56k')
-rw-r--r-- | src/emu/cpu/dsp56k/dsp56pcu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cpu/dsp56k/dsp56pcu.c b/src/emu/cpu/dsp56k/dsp56pcu.c index 355a413d291..662889a0f6f 100644 --- a/src/emu/cpu/dsp56k/dsp56pcu.c +++ b/src/emu/cpu/dsp56k/dsp56pcu.c @@ -107,7 +107,7 @@ static UINT8 SE_bit(dsp56k_core* cpustate) { return (SP & 0x0010) >> 4; } //static void SE_bit_set(dsp56k_core* cpustate, UINT8 value) {}; -UINT8 dsp56k_operating_mode(dsp56k_core* cpustate) +static UINT8 dsp56k_operating_mode(dsp56k_core* cpustate) { return ((MB_bit(cpustate) << 1) | MA_bit(cpustate)); } |