File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 14
14
#include "pt2_unicode.h"
15
15
#include "pt2_palette.h"
16
16
17
- #define PROG_VER_STR "1.48 "
17
+ #define PROG_VER_STR "1.49 "
18
18
19
19
#ifdef _WIN32
20
20
#define DIR_DELIMITER '\\'
Original file line number Diff line number Diff line change @@ -334,7 +334,10 @@ static void funkIt(moduleChannel_t *ch)
334
334
335
335
static void positionJump (moduleChannel_t * ch )
336
336
{
337
- modOrder = (ch -> n_cmd & 0xFF ) - 1 ; // B00 results in -1, but it safely jumps to order 0
337
+ // original PT doesn't do this check, but we have to
338
+ if (editor .playMode != PLAY_MODE_PATTERN || (editor .currMode == MODE_RECORD && editor .recordMode != RECORD_PATT ))
339
+ modOrder = (ch -> n_cmd & 0xFF ) - 1 ; // B00 results in -1, but it safely jumps to order 0
340
+
338
341
pBreakPosition = 0 ;
339
342
posJumpAssert = true;
340
343
}
You can’t perform that action at this time.
0 commit comments