diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2003-02-08 02:59:47 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2003-02-08 02:59:47 +0000 |
commit | c43a307011e8e89b5a31e4f9ffab0dfeb0e3ed5b (patch) | |
tree | 977dcd5e0f702e3e4e6c8a23bf92281e0720fa38 /firmware | |
parent | 6ceb79622f2b79f9707b8d2d568460485bcf2dca (diff) | |
download | rockbox-c43a307011e8e89b5a31e4f9ffab0dfeb0e3ed5b.tar.gz rockbox-c43a307011e8e89b5a31e4f9ffab0dfeb0e3ed5b.zip |
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
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/mpeg.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 | |||
482 | #ifdef HAVE_MAS3587F | 482 | #ifdef HAVE_MAS3587F |
483 | static bool is_recording; /* We are recording */ | 483 | static bool is_recording; /* We are recording */ |
484 | static bool stop_pending; | 484 | static bool stop_pending; |
485 | static unsigned long record_start_frame; /* Frame number where | 485 | unsigned long record_start_frame; /* Frame number where |
486 | recording started */ | 486 | recording started */ |
487 | static bool saving; /* We are saving the buffer to disk */ | 487 | static bool saving; /* We are saving the buffer to disk */ |
488 | #endif | 488 | #endif |
489 | 489 | ||
@@ -2187,7 +2187,7 @@ unsigned long mpeg_num_recorded_frames(void) | |||
2187 | { | 2187 | { |
2188 | /* Read the current frame */ | 2188 | /* Read the current frame */ |
2189 | mas_readmem(MAS_BANK_D0, 0xfd0, &val, 1); | 2189 | mas_readmem(MAS_BANK_D0, 0xfd0, &val, 1); |
2190 | 2190 | ||
2191 | return val - record_start_frame; | 2191 | return val - record_start_frame; |
2192 | } | 2192 | } |
2193 | else | 2193 | else |