mirror of
https://github.com/mupen64plus/mupen64plus-rsp-cxd4.git
synced 2024-05-14 10:09:35 -04:00
fix few more warnings
This commit is contained in:
parent
06601cf6f5
commit
a961c711bf
4
module.c
4
module.c
|
@ -31,6 +31,8 @@
|
|||
#include "module.h"
|
||||
#include "su.h"
|
||||
|
||||
#include "m64p_common.h"
|
||||
|
||||
#include <signal.h>
|
||||
#include <setjmp.h>
|
||||
|
||||
|
@ -498,7 +500,7 @@ EXPORT unsigned int CALL DoRspCycles(unsigned int cycles)
|
|||
|
||||
EXPORT void CALL GetDllInfo(PLUGIN_INFO *PluginInfo)
|
||||
{
|
||||
PluginInfo -> Version = PLUGIN_API_VERSION;
|
||||
PluginInfo -> Version = (u16) PLUGIN_API_VERSION;
|
||||
PluginInfo -> Type = PLUGIN_TYPE_RSP;
|
||||
strcpy(PluginInfo -> Name, "Static Interpreter");
|
||||
PluginInfo -> NormalMemory = 0;
|
||||
|
|
3
su.c
3
su.c
|
@ -34,6 +34,8 @@ pu8 DMEM;
|
|||
pu8 IMEM;
|
||||
unsigned long su_max_address = 0x007FFFFFul;
|
||||
|
||||
static int temp_PC;
|
||||
|
||||
NOINLINE void res_S(void)
|
||||
{
|
||||
message("RESERVED.");
|
||||
|
@ -1644,7 +1646,6 @@ void STV(unsigned vt, unsigned element, signed offset, unsigned base)
|
|||
return;
|
||||
}
|
||||
|
||||
int temp_PC;
|
||||
#ifdef WAIT_FOR_CPU_HOST
|
||||
short MFC0_count[NUMBER_OF_SCALAR_REGISTERS];
|
||||
#endif
|
||||
|
|
3
su.h
3
su.h
|
@ -155,7 +155,6 @@ extern u32 SR[];
|
|||
int stage;
|
||||
#endif
|
||||
|
||||
extern int temp_PC;
|
||||
#ifdef WAIT_FOR_CPU_HOST
|
||||
extern short MFC0_count[];
|
||||
/* Keep one C0 MF status read count for each scalar register. */
|
||||
|
@ -268,7 +267,7 @@ extern void set_PC(unsigned int address);
|
|||
#define SP_STATUS_SIG6 (0x00000001ul << 13)
|
||||
#define SP_STATUS_SIG7 (0x00000001ul << 14)
|
||||
|
||||
enum {
|
||||
typedef enum {
|
||||
RCP_SP_MEM_ADDR_REG,
|
||||
RCP_SP_DRAM_ADDR_REG,
|
||||
RCP_SP_RD_LEN_REG,
|
||||
|
|
Loading…
Reference in a new issue