19.04.2017, 19:43
Quote:
Are you using the latest Y_INI? |
But it wasn't that either. I've made a lot of mistakes with this command, but I think the crucial one was forgetting to close the file after using it in other functions. Now it properly saves to file, I'm gonna test it more thoroughly but I think we can consider it fixed.
For anyone in the future running into the same problem, here's more complete list of things I've done:
1. Updated Y_INI include.
2. Installed Crash Detect plugin to determine whether the issues were caused by runtime error (they were).
3. Corrected some name inconsistencies (I've renamed "base" component to "bass" earlier, and didn't change it in some places in my code).
4. Optimized some parts of my tuning saving system (less code and smarter code makes it easier to find the problematic parts).
5. Made sure I've closed the file everywhere in the code.
Thank you ThA_Devil, I really appreciate your help. I'm glad we managed to track this issue down