diff options
author | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-04-06 14:18:07 +0000 |
---|---|---|
committer | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-04-06 14:18:07 +0000 |
commit | 3954a51311f872abcce9b96ebe436b869939767a (patch) | |
tree | 40a829c808a4297d7b3d73cb8c9bca463407b143 /apps/gui/wps_debug.c | |
parent | 52112a05f11c2ab7e308e8bf2a64ae787e191369 (diff) | |
download | rockbox-3954a51311f872abcce9b96ebe436b869939767a.tar.gz rockbox-3954a51311f872abcce9b96ebe436b869939767a.zip |
Better handling of subline timeout values : All values are set to the default before another value is found by the parser. No more
resetting to the default value at displaying time (this caused problems especially noticeable on the DancePuffDuo WPS). Changing
the values with conditionals is still possible but only strictly positive tiemout values are accepted now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13045 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/wps_debug.c')
-rw-r--r-- | apps/gui/wps_debug.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/gui/wps_debug.c b/apps/gui/wps_debug.c index bcb05e0902..48aadc627d 100644 --- a/apps/gui/wps_debug.c +++ b/apps/gui/wps_debug.c | |||
@@ -362,6 +362,17 @@ void print_line_info(struct wps_data *data) | |||
362 | DEBUGF("\n"); | 362 | DEBUGF("\n"); |
363 | } | 363 | } |
364 | 364 | ||
365 | DEBUGF("subline time multipliers :\n"); | ||
366 | for (line = 0; line < data->num_lines; line++) | ||
367 | { | ||
368 | DEBUGF("%2d. ", line); | ||
369 | for (subline = 0; subline < data->num_sublines[line]; subline++) | ||
370 | { | ||
371 | DEBUGF("%3d ", data->time_mult[line][subline]); | ||
372 | } | ||
373 | DEBUGF("\n"); | ||
374 | } | ||
375 | |||
365 | DEBUGF("\n"); | 376 | DEBUGF("\n"); |
366 | } | 377 | } |
367 | 378 | ||