mmitch / gbsplay

gameboy sound player
https://mmitch.github.io/gbsplay/
Other
98 stars 20 forks source link

'start_at_subsong' option not honored #71

Closed cyberic99 closed 2 years ago

cyberic99 commented 2 years ago

This seems to happen since commit 57d2f97b569c540153d0a144328daf1b91237357:

commit 57d2f97b569c540153d0a144328daf1b91237357
Author: Christian Garbs <mitch@cgarbs.de>
Date:   Mon Dec 21 14:34:50 2020 +0100

    refactor: update subsong related status only on subsong change

 gbs.c | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

When using for instance

gbsplay DMG-TRA-0.gbs 4 4

gbsplay still plays song number 1

Thank you

mmitch commented 2 years ago

Could you please try the current master? This somewhat embarrassing bug should be fixed now.

cyberic99 commented 2 years ago

Yes this bug is fixed, thank you !