A few more warnings.
This commit is contained in:
parent
2630169229
commit
35b8dfbe0c
|
@ -86,6 +86,7 @@ bool TryMakeOperand2_AllowNegation(s32 imm, Operand2 &op2, bool *negated)
|
|||
Operand2 AssumeMakeOperand2(u32 imm) {
|
||||
Operand2 op2;
|
||||
bool result = TryMakeOperand2(imm, op2);
|
||||
(void) result;
|
||||
_dbg_assert_msg_(DYNA_REC, result, "Could not make assumed Operand2.");
|
||||
return op2;
|
||||
}
|
||||
|
@ -958,7 +959,7 @@ extern const VFPEnc VFPOps[16][2] = {
|
|||
{{ -1, -1}, {0x3B, 0x30}}, // 14: VABSi
|
||||
};
|
||||
|
||||
extern const char *VFPOpNames[16] = {
|
||||
const char *VFPOpNames[16] = {
|
||||
"VMLA",
|
||||
"VNMLA",
|
||||
"VMLS",
|
||||
|
@ -1189,6 +1190,7 @@ void ARMXEmitter::VMOV(ARMReg Dest, ARMReg Src)
|
|||
}
|
||||
// Moving NEON registers
|
||||
int SrcSize = Src < D0 ? 1 : Src < Q0 ? 2 : 4;
|
||||
(void) SrcSize;
|
||||
int DestSize = Dest < D0 ? 1 : Dest < Q0 ? 2 : 4;
|
||||
bool Single = DestSize == 1;
|
||||
bool Quad = DestSize == 4;
|
||||
|
|
|
@ -270,7 +270,7 @@ std::string ReplaceAll(std::string result, const std::string& src, const std::st
|
|||
while(1)
|
||||
{
|
||||
size_t pos = result.find(src);
|
||||
if (pos == -1) break;
|
||||
if (pos == std::string::npos) break;
|
||||
result.replace(pos, src.size(), dest);
|
||||
}
|
||||
return result;
|
||||
|
|
|
@ -153,7 +153,7 @@ EcWii::EcWii()
|
|||
}
|
||||
else
|
||||
{
|
||||
ERROR_LOG(WII_IPC_ES, "Failed to read keys.bin, check it is the correct size of %08lX bytes.", sizeof(BootMiiKeysBin));
|
||||
ERROR_LOG(WII_IPC_ES, "Failed to read keys.bin, check it is the correct size of %08X bytes.", (unsigned int) sizeof(BootMiiKeysBin));
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
@ -62,7 +62,7 @@ void CWiiSaveCrypted::ExportAllSaves()
|
|||
}
|
||||
}
|
||||
}
|
||||
SuccessAlertT("Found %llx save files", titles.size());
|
||||
SuccessAlertT("Found %x save files", (unsigned int) titles.size());
|
||||
for (u32 i = 0; i < titles.size(); ++i)
|
||||
{
|
||||
CWiiSaveCrypted* exportSave = new CWiiSaveCrypted("", titles[i]);
|
||||
|
|
|
@ -42,8 +42,7 @@ private:
|
|||
|
||||
std::string encryptedSavePath;
|
||||
|
||||
std::string BannerFilePath,
|
||||
WiiTitlePath;
|
||||
std::string WiiTitlePath;
|
||||
|
||||
u8 IV[0x10];
|
||||
|
||||
|
|
|
@ -28,6 +28,12 @@
|
|||
#include <tmmintrin.h>
|
||||
#endif
|
||||
|
||||
// This avoids a harmless warning from a system header in Clang;
|
||||
// see http://llvm.org/bugs/show_bug.cgi?id=16093
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic ignored "-Wshadow"
|
||||
#endif
|
||||
|
||||
bool TexFmt_Overlay_Enable=false;
|
||||
bool TexFmt_Overlay_Center=false;
|
||||
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
#define GL_READ_WRITE 0x88BA
|
||||
#define GL_SRC1_ALPHA 0
|
||||
#define GL_BGRA GL_RGBA
|
||||
#define glDrawElementsBaseVertex
|
||||
#define glDrawRangeElementsBaseVertex
|
||||
#define glDrawElementsBaseVertex(...)
|
||||
#define glDrawRangeElementsBaseVertex(...)
|
||||
#endif
|
||||
#else
|
||||
#define TEX2D GL_TEXTURE_RECTANGLE_ARB
|
||||
|
|
Loading…
Reference in New Issue