Probably there are some memory issues with the code, I am working on analyzing with valgrind and any tools that can help on improving the code.
Any help is appreciated because my experience with C++ is this project (and the original code is not mine).
This happen on generating again the rom and the output is different.
I think that is part of this issue https://github.com/Mte90/GBAATM-Rebirth/commit/a7fe52cbb1457cec2dae9958126cd91177f3b3e8, with this line the rom generated is broken and the output is the same when is generated twice (without that line). This is part also of https://github.com/Mte90/GBAATM-Rebirth/blob/master/core/cheatcodes.cpp#L427
Probably there are some memory issues with the code, I am working on analyzing with valgrind and any tools that can help on improving the code. Any help is appreciated because my experience with C++ is this project (and the original code is not mine).