diff options
author | aliaspider | 2015-11-09 19:55:28 +0100 |
---|---|---|
committer | aliaspider | 2015-11-09 19:55:28 +0100 |
commit | 7a7857f47b33f1b63fb585d2dc6c60d87c3e928f (patch) | |
tree | a4c271ae26c4b5ec9566f37062168e6d2c8c1bbc /src/fxemu.h | |
parent | 5339c79ebd36afa759541d0c2fbdadac6dd26ed2 (diff) | |
download | snes9x2002-7a7857f47b33f1b63fb585d2dc6c60d87c3e928f.tar.gz snes9x2002-7a7857f47b33f1b63fb585d2dc6c60d87c3e928f.tar.bz2 snes9x2002-7a7857f47b33f1b63fb585d2dc6c60d87c3e928f.zip |
C++ --> C99
Diffstat (limited to 'src/fxemu.h')
-rw-r--r-- | src/fxemu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fxemu.h b/src/fxemu.h index 01ce839..00fc41a 100644 --- a/src/fxemu.h +++ b/src/fxemu.h @@ -112,7 +112,7 @@ typedef int int32; #endif
/* The FxInfo_s structure, the link between the FxEmulator and the Snes Emulator */
-struct FxInit_s
+typedef struct
{
uint32 vFlags;
uint8 * pvRegisters; /* 768 bytes located in the memory at address 0x3000 */
@@ -120,10 +120,10 @@ struct FxInit_s uint8 * pvRam; /* Pointer to GSU-RAM */
uint32 nRomBanks; /* Number of 32kb-banks in Cart-ROM */
uint8 * pvRom; /* Pointer to Cart-ROM */
-};
+}FxInit_s;
/* Reset the FxChip */
-extern void FxReset(struct FxInit_s *psFxInfo);
+extern void FxReset(FxInit_s *psFxInfo);
/* Execute until the next stop instruction */
extern int FxEmulate(uint32 nInstructions);
|