HertzDevil / 0CC-FamiTracker

Extension of jsr's FamiTracker
http://0cc-famitracker.tumblr.com/
GNU General Public License v2.0
308 stars 32 forks source link

0.3.14.5 loses instrument loop and release points on "Import Text..." #77

Closed Lord-Nightmare closed 6 years ago

Lord-Nightmare commented 6 years ago

When using 0cc-Famitracker 0.3.14.5, exporting a song as text, then re-importing it loses the loop and release points for every instrument.

The bug is also discussed at http://hertzdevil.info/forum/index.php/topic,8.0.html and a patch exists there for an older source revision, which fixes it, though I'm not entirely certain why.

The "fix" in that thread involves creating separate int variables for the "loop" and "release" instead of just using "i" around what are now line 768 and 770 in Source/TextExporter.cpp, although that file has been modified significantly in the year-and-a-half since that patch was created.

Lord-Nightmare commented 6 years ago

This seems to be fixed in git sometime before commit 7fbcdd9acb8f0f3683d6aefefd8dff9a80cfbf2e