aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authortwinaphex2017-02-18 16:32:50 +0100
committertwinaphex2017-02-18 16:32:50 +0100
commitdc596c886e0ec2728dc353dd7862cdf1e5a5ff44 (patch)
tree75bfbc1e9615ea13b96570738e1259f33b2895d6 /source
parent42e64dc0354acba52fcad0ea562d534ec05234c1 (diff)
downloadsnesemu-dc596c886e0ec2728dc353dd7862cdf1e5a5ff44.tar.gz
snesemu-dc596c886e0ec2728dc353dd7862cdf1e5a5ff44.tar.bz2
snesemu-dc596c886e0ec2728dc353dd7862cdf1e5a5ff44.zip
Update sar.h
Diffstat (limited to 'source')
-rw-r--r--source/apu_blargg.c2
-rw-r--r--source/sar.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/source/apu_blargg.c b/source/apu_blargg.c
index abf982e..d0d5879 100644
--- a/source/apu_blargg.c
+++ b/source/apu_blargg.c
@@ -1009,7 +1009,7 @@ static void dsp_init( void* ram_64k )
/* Emulates pressing reset switch on SNES */
-static void dsp_soft_reset()
+static void dsp_soft_reset(void)
{
dsp_m.regs[R_FLG] = 0xE0;
dsp_soft_reset_common();
diff --git a/source/sar.h b/source/sar.h
index 3f160a6..9d0861e 100644
--- a/source/sar.h
+++ b/source/sar.h
@@ -3,9 +3,7 @@
#ifndef _SAR_H_
#define _SAR_H_
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <stdint.h>
#include "port.h"