From 9d35b8b6ee26d32ab792d09861929b9e7903db9a Mon Sep 17 00:00:00 2001 From: Normmatt Date: Mon, 15 Jun 2015 09:58:55 +1200 Subject: [PATCH] opps forgot to reset read_count. --- source/gamecart/command_ctr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/gamecart/command_ctr.c b/source/gamecart/command_ctr.c index bee1eb8..517c679 100644 --- a/source/gamecart/command_ctr.c +++ b/source/gamecart/command_ctr.c @@ -20,6 +20,7 @@ void CTR_CmdReadData(u32 sector, u32 length, u32 blocks, void* buffer) if(read_count++ > 10000) { CTR_CmdC5(); + read_count = 0; } const u32 read_cmd[4] = {