DivSongTimestamps, part 7
calculate timestamps on every change that is likely to require recalculation (inserting/altering/removing song control/speed effects, changing song speed, changing orders and so on)
This commit is contained in:
parent
3b93c4e0ec
commit
f990dee0c1
9 changed files with 69 additions and 25 deletions
|
|
@ -110,6 +110,7 @@ void FurnaceGUI::drawSysManager() {
|
|||
if (picked!=DIV_SYSTEM_NULL) {
|
||||
if (e->changeSystem(i,picked,preserveChanPos)) {
|
||||
MARK_MODIFIED;
|
||||
recalcTimestamps=true;
|
||||
if (e->song.autoSystem) {
|
||||
autoDetectSystem();
|
||||
}
|
||||
|
|
@ -179,6 +180,7 @@ void FurnaceGUI::drawSysManager() {
|
|||
showError(fmt::sprintf(_("cannot add chip! (%s)"),e->getLastError()));
|
||||
} else {
|
||||
MARK_MODIFIED;
|
||||
recalcTimestamps=true;
|
||||
}
|
||||
if (e->song.autoSystem) {
|
||||
autoDetectSystem();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue