diff options
Diffstat (limited to 'tfmx/tfmxplayer.cpp')
-rw-r--r-- | tfmx/tfmxplayer.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tfmx/tfmxplayer.cpp b/tfmx/tfmxplayer.cpp index 82e93412e1..4f2f0a0071 100644 --- a/tfmx/tfmxplayer.cpp +++ b/tfmx/tfmxplayer.cpp @@ -125,13 +125,15 @@ void tfmxmain(const int argc, const char *const argv[]) { if (i + 1 < argc) { param = atoi(argv[++i]); debug( "play custom %02X", param); - player->doSong(0x18); + if (player->getSongIndex() < 0) + player->doSong(0x18); player->doSfx(param); hasCmd = true; } } else if (!strcmp("-flac", argv[i])) { playflag = 2; - } + } else if (!strcmp("-hack-patternstop", argv[i])) + player->_playerCtx.stopWithLastPattern = true; ++i; } |