aboutsummaryrefslogtreecommitdiff
path: root/source/snes9x.h
diff options
context:
space:
mode:
authorJoão Silva2017-02-12 01:52:03 +0000
committerJoão Silva2017-02-12 01:52:03 +0000
commit3777d1fcf4232cde426f46b7ee5c374fd949b1b0 (patch)
treee76f38bc1bac83bab19daea51d63ed87236e047e /source/snes9x.h
parentb6006bc542f89ad1b7086268f851f0ba880ad6cd (diff)
downloadsnes9x2005-3777d1fcf4232cde426f46b7ee5c374fd949b1b0.tar.gz
snes9x2005-3777d1fcf4232cde426f46b7ee5c374fd949b1b0.tar.bz2
snes9x2005-3777d1fcf4232cde426f46b7ee5c374fd949b1b0.zip
Type fixes. Fixes from snes9x 1.50. Minor changes and optimizations.
Diffstat (limited to 'source/snes9x.h')
-rw-r--r--source/snes9x.h32
1 files changed, 13 insertions, 19 deletions
diff --git a/source/snes9x.h b/source/snes9x.h
index 1051af4..a3b6c98 100644
--- a/source/snes9x.h
+++ b/source/snes9x.h
@@ -9,11 +9,8 @@
#include <libretro.h>
-extern int cprintf(const char* fmt, ...);
-
#include "port.h"
#include "65c816.h"
-#include "messages.h"
#define ROM_NAME_LEN 23
@@ -196,18 +193,18 @@ typedef struct
bool SRTC;
uint32_t ControllerOption;
- bool ShutdownMaster;
- bool MultiPlayer5Master;
- bool SuperScopeMaster;
- bool MouseMaster;
- bool SuperFX;
- bool DSP1Master;
- bool SA1;
- bool C4;
- bool SDD1;
- bool SPC7110;
- bool SPC7110RTC;
- bool OBC1;
+ bool ShutdownMaster;
+ bool MultiPlayer5Master;
+ bool SuperScopeMaster;
+ bool MouseMaster;
+ bool SuperFX;
+ bool DSP1Master;
+ bool SA1;
+ bool C4;
+ bool SDD1;
+ bool SPC7110;
+ bool SPC7110RTC;
+ bool OBC1;
/* Sound options */
uint32_t SoundPlaybackRate;
#ifdef USE_BLARGG_APU
@@ -247,7 +244,6 @@ typedef struct
bool StarfoxHack;
bool WinterGold;
bool BS; /* Japanese Satellite System games. */
- bool DaffyDuck;
uint8_t APURAMInitialValue;
bool SampleCatchup;
bool JustifierMaster;
@@ -265,11 +261,9 @@ typedef struct
typedef struct
{
- uint8_t alienVSpredetorFix;
uint8_t APU_OutPorts_ReturnValueFix;
uint8_t SoundEnvelopeHeightReading2;
uint8_t SRAMInitialValue;
- uint8_t Uniracers;
bool EchoOnlyOutput;
} SSNESGameFixes;
@@ -278,7 +272,7 @@ extern SCPUState CPU;
extern SSNESGameFixes SNESGameFixes;
extern char String [513];
-void S9xMessage(int32_t type, int32_t number, const char* message);
+void S9xMessage(const char* message);
void S9xSetPause(uint32_t mask);
void S9xClearPause(uint32_t mask);