Fixed the screenshot feature

This commit is contained in:
d0k3 2016-02-27 20:10:41 +01:00
parent c8765ca6c6
commit f720c4d760

View File

@ -67,7 +67,7 @@ void Screenshot()
for (; n < 1000; n++) {
snprintf(filename, 16, "0:/snap%03i.bmp", (int) n);
if (f_stat(filename, NULL) == FR_OK) break;
if (f_stat(filename, NULL) != FR_OK) break;
}
if (n >= 1000) return;