newemuloop: add diagnostic code for timer calculation

This commit is contained in:
zeromus 2009-07-16 23:31:25 +00:00
parent 3e9dd9d6c0
commit ffa4adfc47
1 changed files with 2 additions and 2 deletions

View File

@ -1312,8 +1312,8 @@ static INLINE u16 read_timer(int proc, int timerIndex)
s32 units = diff / (1<<MMU.timerMODE[proc][timerIndex]);
s32 ret = 65535 - units;
assert(ret>=0);
if(ret<0) printf("NEW EMULOOP BAD NEWS PLEASE REPORT: TIME READ RETURN < 0\n");
if(ret<0) printf("NEW EMULOOP BAD NEWS PLEASE REPORT: TIME READ RETURN < 0: %d\n", ret);
return ret;
}