forked from Mirror/GodMode9
Fixed the screenshot feature
This commit is contained in:
parent
c8765ca6c6
commit
f720c4d760
@ -67,7 +67,7 @@ void Screenshot()
|
|||||||
|
|
||||||
for (; n < 1000; n++) {
|
for (; n < 1000; n++) {
|
||||||
snprintf(filename, 16, "0:/snap%03i.bmp", (int) 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;
|
if (n >= 1000) return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user