diff --git a/Core/MIPS/MIPSAsm.cpp b/Core/MIPS/MIPSAsm.cpp index 8cd848ecc9..45b6ab78d8 100644 --- a/Core/MIPS/MIPSAsm.cpp +++ b/Core/MIPS/MIPSAsm.cpp @@ -9,7 +9,7 @@ namespace MIPSAsm char errorMessage[512]; -void SetAssembleError(char* format, ...) +void SetAssembleError(const char* format, ...) { va_list args; diff --git a/Core/MIPS/MIPSAsm.h b/Core/MIPS/MIPSAsm.h index 88a74bd9dc..90a945031e 100644 --- a/Core/MIPS/MIPSAsm.h +++ b/Core/MIPS/MIPSAsm.h @@ -8,7 +8,7 @@ namespace MIPSAsm bool MipsAssembleOpcode(const char* line, DebugInterface* cpu, u32 address, u32& dest); -typedef enum eMipsImmediateType { MIPS_NOIMMEDIATE, MIPS_IMMEDIATE5, +enum eMipsImmediateType { MIPS_NOIMMEDIATE, MIPS_IMMEDIATE5, MIPS_IMMEDIATE16, MIPS_IMMEDIATE20, MIPS_IMMEDIATE26 }; typedef struct {