From 3c5ad7c89639063fe47d0355a7cd0f448bbec8b3 Mon Sep 17 00:00:00 2001 From: zeromus Date: Fri, 17 Jul 2009 00:15:48 +0000 Subject: [PATCH] newemuloop: comment that a little better so i dont forget --- desmume/src/MMU.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desmume/src/MMU.cpp b/desmume/src/MMU.cpp index 3b9303b5c..ac049e792 100644 --- a/desmume/src/MMU.cpp +++ b/desmume/src/MMU.cpp @@ -1313,7 +1313,8 @@ static INLINE u16 read_timer(int proc, int timerIndex) s32 ret; if(units==65536) - ret = 0; + ret = 0; //I'm not sure why this is happening... + //whichever instruction setup this counter should advance nds_timer (I think?) and the division should truncate down to 65535 immediately else if(units>65536) { printf("NEW EMULOOP BAD NEWS PLEASE REPORT: UNITS %d:%d = %d\n",proc,timerIndex,units); ret = 0;