IT import: comments, channel names and pat names

the latter two are MPT extensions

this may not work on songs with MIDI macro setup info
This commit is contained in:
tildearrow 2025-09-06 17:46:16 -05:00
parent 7709640aa0
commit d0c4fb0b42
3 changed files with 126 additions and 0 deletions

View file

@ -33,6 +33,7 @@ enum DivStringEncoding {
DIV_ENCODING_NONE=0,
DIV_ENCODING_UTF8,
DIV_ENCODING_LATIN1,
DIV_ENCODING_LATIN1_SPECIAL,
DIV_ENCODING_SHIFT_JIS
};
@ -77,6 +78,8 @@ class SafeReader {
String readString(size_t len);
String readStringLatin1();
String readStringLatin1(size_t len);
String readStringLatin1Special();
String readStringLatin1Special(size_t len);
String readStringLine();
String readStringToken(unsigned char delim, bool stripContiguous);
String readStringToken();