fixed M_PI issues when building with strict gcc flags

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
fixed macro definition conflicts

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
a "using" keyword was missing

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
INLINE and logerror got redefined all the time

standardized code to use the definitions from mamedef.h

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
fixed signed<->unsigned type conflicts

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
stdlib.h was missing -> calloc() and free() were not explicitely found

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
static tables were using old-style declaration

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
fixed extra semicolons

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
missing initializers added

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
assorted fixes

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
oops

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Merge branch 'master' of github.com:kode54/Game_Music_Emu
Clear echo buffer on track start, regardless of whether it has already been cleared. Clearing will still only occur if the echo disable flag is cleared, as the SPC in question may not have initialized the echo address and size, so it may have vital data there if it isn't using echo.
Normalized line endings
Fixed DAC Control reentering itself
Added const accessor to Spc_Emu and non-const accessor to Snes_Spc
Removed printf debugging
Normalized line endings
Added optional custom debug printf function

This is useful for integrating custom loggers in GME

add -DCUSTOM_DPRINTF_FUNCTION to the compiler flags, and set
the gme_custom_dprintf function pointer to the custom printf

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Normalized line endings