Make this work with debug builds again.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5540 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang 2010-05-29 21:28:27 +00:00
parent 1d24ac9157
commit 6ea0d50872
2 changed files with 6 additions and 1 deletions

View File

@ -712,6 +712,7 @@ int ParseAttribList(u8* pAttribIDList, u16& _startID, u16& _endID)
#if MAX_LOGLEVEL >= DEBUG_LEVEL
_dbg_assert_(WII_IPC_WIIMOTE, sequence == SDP_SEQ8);
(void)seqSize;
#else
(void)sequence, (void)seqSize;
#endif

View File

@ -107,12 +107,16 @@ bool WiiWAD::ParseWAD(DiscIO::IBlobReader& _rReader)
return false;
m_CertificateChainSize = ReaderBig.Read32(0x8);
// u32 Reserved = ReaderBig.Read32(0xC);
u32 Reserved = ReaderBig.Read32(0xC);
m_TicketSize = ReaderBig.Read32(0x10);
m_TMDSize = ReaderBig.Read32(0x14);
m_DataAppSize = ReaderBig.Read32(0x18);
m_FooterSize = ReaderBig.Read32(0x1C);
#if MAX_LOGLEVEL >= DEBUG_LEVEL
_dbg_assert_msg_(BOOT, Reserved==0x00, "WiiWAD: Reserved must be 0x00");
#else
(void)Reserved;
#endif
u32 Offset = 0x40;
m_pCertificateChain = CreateWADEntry(_rReader, m_CertificateChainSize, Offset); Offset += ROUND_UP(m_CertificateChainSize, 0x40);