Skip to content
This repository was archived by the owner on Oct 16, 2021. It is now read-only.

Commit bc0fb28

Browse files
committed
Fix bug where find-replacing anything with an empty effect creates " 00" (null byte).
Since 0 existed in FamiTrackerTypes.h/EFF_CHAR[], empty effects were treated as "real" effects and had a numeric argument assigned when find-replacing.
1 parent 88f1972 commit bc0fb28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/FamiTrackerTypes.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ const char EFF_CHAR[] = {
204204
'C', // Halt
205205
'E', // Volume
206206
'3', // Porta on
207-
0, // Porta off // unused
207+
255, // Porta off // unused
208208
'H', // Sweep up
209209
'I', // Sweep down
210210
'0', // Arpeggio

0 commit comments

Comments
 (0)