From c43a307011e8e89b5a31e4f9ffab0dfeb0e3ed5b Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Sat, 8 Feb 2003 02:59:47 +0000 Subject: 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 --- firmware/mpeg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'firmware') diff --git a/firmware/mpeg.c b/firmware/mpeg.c index 0ed52ed6cb..82073a6405 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c @@ -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 -- cgit v1.2.3