diff --git a/pcsx2/Sio.cpp b/pcsx2/Sio.cpp index d32a83783d..66ca6cb903 100644 --- a/pcsx2/Sio.cpp +++ b/pcsx2/Sio.cpp @@ -33,7 +33,8 @@ static const u8 memcard_psx[] = {0x5A, 0x5D, 0x5C, 0x5D, 0x04, 0x00, 0x00, 0x80} // Memory Card Specs for standard Sony 8mb carts: // Flags (magic sio '+' thingie!), Sector size, eraseBlockSize (in pages), card size (in pages), xor checksum (superblock?), terminator (unused?). -static const mc_command_0x26_tag mc_sizeinfo_8mb= {'+', 512, 16, 0x4000, 0x52, 0x5A}; +// FIXME variable commented out since it's not used atm. +// static const mc_command_0x26_tag mc_sizeinfo_8mb= {'+', 512, 16, 0x4000, 0x52, 0x5A}; // Ejection timeout management belongs in the MemoryCardFile plugin, except the plugin // interface is not yet complete. diff --git a/pcsx2/gui/MemoryCardFile.cpp b/pcsx2/gui/MemoryCardFile.cpp index 43fcd3dfb4..28167a6888 100644 --- a/pcsx2/gui/MemoryCardFile.cpp +++ b/pcsx2/gui/MemoryCardFile.cpp @@ -44,7 +44,6 @@ struct Component_FileMcd; static const int MCD_SIZE = 1024 * 8 * 16; // Legacy PSX card default size static const int MC2_MBSIZE = 1024 * 528 * 2; // Size of a single megabyte of card data -static const int MC2_SIZE = MC2_MBSIZE * 8; // PS2 card default size (8MB) // -------------------------------------------------------------------------------------- // FileMemoryCard diff --git a/pcsx2/x86/microVU_Log.inl b/pcsx2/x86/microVU_Log.inl index b8397c1ca8..2f304e7848 100644 --- a/pcsx2/x86/microVU_Log.inl +++ b/pcsx2/x86/microVU_Log.inl @@ -28,7 +28,6 @@ _mVUt void __mVULog(const char* fmt, ...) { va_start(list, fmt); // concatenate the log message after the prefix: - int length = vsprintf(tmp, fmt, list); va_end(list); mVU.logFile->Write( tmp ); diff --git a/pcsx2/x86/sVU_Upper.cpp b/pcsx2/x86/sVU_Upper.cpp index 41e6d5427b..3ff115937f 100644 --- a/pcsx2/x86/sVU_Upper.cpp +++ b/pcsx2/x86/sVU_Upper.cpp @@ -129,7 +129,6 @@ static const __aligned16 u32 VU_Zero_Mask[4] = {0x00000000, 0x00000000, 0x000 static const __aligned16 u32 VU_Zero_Helper_Mask[4] = {0x7fffffff, 0x7fffffff, 0x7fffffff, 0x7fffffff}; static const __aligned16 u32 VU_Signed_Zero_Mask[4] = {0x80000000, 0x80000000, 0x80000000, 0x80000000}; static const __aligned16 u32 VU_Pos_Infinity[4] = {0x7f800000, 0x7f800000, 0x7f800000, 0x7f800000}; -static const __aligned16 u32 VU_Neg_Infinity[4] = {0xff800000, 0xff800000, 0xff800000, 0xff800000}; //------------------------------------------------------------------