From 224009ee3e31c69dd8f1a169071214cf93587a0b Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Wed, 21 Oct 2009 04:06:13 +0000 Subject: [PATCH] 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 --- Source/Core/Core/Src/HW/DVDInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/HW/DVDInterface.cpp b/Source/Core/Core/Src/HW/DVDInterface.cpp index e7b59e963a..95b8e3a970 100644 --- a/Source/Core/Core/Src/HW/DVDInterface.cpp +++ b/Source/Core/Core/Src/HW/DVDInterface.cpp @@ -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");