mark modified when changing compat flags or ins type

This commit is contained in:
Eknous-P 2025-07-24 09:32:27 +04:00 committed by tildearrow
parent a2b8a710e8
commit f9889ce920
2 changed files with 64 additions and 50 deletions

View file

@ -6745,6 +6745,7 @@ void FurnaceGUI::drawInsEdit() {
for (DivInstrumentType i: insTypeList) {
if (ImGui::Selectable(insTypes[i][0],insType==i)) {
ins->type=i;
MARK_MODIFIED
// reset macro zoom
memset(ins->temp.vZoom,-1,sizeof(ins->temp.vZoom));