opps forgot to reset read_count.

This commit is contained in:
Normmatt 2015-06-15 09:58:55 +12:00
parent 0d2e59c909
commit 9d35b8b6ee

View File

@ -20,6 +20,7 @@ void CTR_CmdReadData(u32 sector, u32 length, u32 blocks, void* buffer)
if(read_count++ > 10000) if(read_count++ > 10000)
{ {
CTR_CmdC5(); CTR_CmdC5();
read_count = 0;
} }
const u32 read_cmd[4] = { const u32 read_cmd[4] = {