mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-31 03:39:57 +02:00
Always save last display mode
This commit is contained in:
@@ -1925,6 +1925,7 @@ void set_cmode(int cm)
|
|||||||
{
|
{
|
||||||
strcpy(itc_msg, "Velocity Display");
|
strcpy(itc_msg, "Velocity Display");
|
||||||
}
|
}
|
||||||
|
save_presets(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
char *download_ui(pixel *vid_buf, char *uri, int *len)
|
char *download_ui(pixel *vid_buf, char *uri, int *len)
|
||||||
|
@@ -2330,7 +2330,6 @@ int main(int argc, char *argv[])
|
|||||||
set_cmode((cmode+(CM_COUNT-1)) % CM_COUNT);
|
set_cmode((cmode+(CM_COUNT-1)) % CM_COUNT);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
save_presets(0);
|
|
||||||
}
|
}
|
||||||
if (x>=(XRES+BARSIZE-(510-494)) && x<=(XRES+BARSIZE-(510-509)) && !bq)
|
if (x>=(XRES+BARSIZE-(510-494)) && x<=(XRES+BARSIZE-(510-509)) && !bq)
|
||||||
sys_pause = !sys_pause;
|
sys_pause = !sys_pause;
|
||||||
|
Reference in New Issue
Block a user