I found a bug when trying to log some GYM files in Gens/GS. Every time 0x0D is written to a channel, an 0x0A byte is inserted immediately after it. Obviously this isn't supposed to happen inside GYM files. I just thought I'd pass this along.
Page 1 of 1
Bug Found in GYM Logging
#2
Posted 02 November 2011 - 09:05 AM
lol windows line endings
Gens/GS II right now doesn't have any audio logging, but IMHO when it does it should be VGM...
EDIT FOUND IT
If you want to fix it in a pirvate source code build, go to src/gens/util/sound/gym.cpp and change line 97 to read
Gens/GS II right now doesn't have any audio logging, but IMHO when it does it should be VGM...
EDIT FOUND IT
If you want to fix it in a pirvate source code build, go to src/gens/util/sound/gym.cpp and change line 97 to read
GYM_File = fopen(filename, "wb");.
This post has been edited by Andlabs: 02 November 2011 - 09:11 AM
#3
Posted 03 November 2011 - 07:51 PM
Must be using fopen() with "wt" (write text) instead of "wb" (write binary). Very common mistake.
This post has been edited by LOst: 03 November 2011 - 07:51 PM
#4
Posted 04 November 2011 - 01:28 PM
LOst, on 03 November 2011 - 07:51 PM, said:
Must be using fopen() with "wt" (write text) instead of "wb" (write binary). Very common mistake.
Page 1 of 1
