fix small typo in DI that could cause asserts at the wrong time

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4444 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman 2009-10-21 04:06:13 +00:00
parent 767818bcb2
commit 224009ee3e
1 changed files with 1 additions and 1 deletions

View File

@ -677,7 +677,7 @@ void ExecuteCommand(UDICR& _DICR)
case 0x40: // Read DiscID
_dbg_assert_(DVDINTERFACE, m_DICMDBUF[1].Hex == 0);
_dbg_assert_(DVDINTERFACE, m_DICMDBUF[1].Hex == m_DILENGTH.Length);
_dbg_assert_(DVDINTERFACE, m_DICMDBUF[2].Hex == m_DILENGTH.Length);
_dbg_assert_(DVDINTERFACE, m_DILENGTH.Length == 0x20);
if (!DVDRead(m_DICMDBUF[1].Hex, m_DIMAR.Address, m_DILENGTH.Length))
PanicAlert("Cant read from DVD_Plugin - DVD-Interface: Fatal Error");