Wii partition seek bug fix and buffering API

This commit is contained in:
Jack Andersen
2015-07-12 20:28:26 -10:00
parent f30a9302b6
commit 01f269e8e2
2 changed files with 29 additions and 1 deletions

View File

@@ -291,9 +291,9 @@ public:
else
return;
size_t block = m_offset / 0x7c00;
m_dio->seek(m_baseOffset + block * 0x8000);
if (block != m_curBlock)
{
m_dio->seek(m_baseOffset + block * 0x8000);
decryptBlock();
m_curBlock = block;
}