From 7a7857f47b33f1b63fb585d2dc6c60d87c3e928f Mon Sep 17 00:00:00 2001 From: aliaspider Date: Mon, 9 Nov 2015 19:55:28 +0100 Subject: C++ --> C99 --- src/fxemu.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/fxemu.h') 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); -- cgit v1.2.3