1
0
Fork 0
forked from len0rd/rockbox

Added some debugging info to chase the 3-hour time display bug

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3227 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2003-02-08 02:59:47 +00:00
parent 6ceb79622f
commit c43a307011
2 changed files with 13 additions and 12 deletions

View file

@ -482,8 +482,8 @@ static int lowest_watermark_level; /* Debug value to observe the buffer
#ifdef HAVE_MAS3587F
static bool is_recording; /* We are recording */
static bool stop_pending;
static unsigned long record_start_frame; /* Frame number where
recording started */
unsigned long record_start_frame; /* Frame number where
recording started */
static bool saving; /* We are saving the buffer to disk */
#endif
@ -2187,7 +2187,7 @@ unsigned long mpeg_num_recorded_frames(void)
{
/* Read the current frame */
mas_readmem(MAS_BANK_D0, 0xfd0, &val, 1);
return val - record_start_frame;
}
else