forked from 0ad/0ad
write screenshots to /data/screenshots, now that that is possible after fixing the appropriate VFS bug :)
This was SVN commit r677.
This commit is contained in:
parent
127edbd271
commit
1a8f8df5f6
@ -234,7 +234,7 @@ static void WriteScreenshot()
|
||||
char fn[VFS_MAX_PATH];
|
||||
static int next_num = 1;
|
||||
do
|
||||
sprintf(fn, "screenshot%04d.png", next_num++);
|
||||
sprintf(fn, "screenshots/screenshot%04d.png", next_num++);
|
||||
while(vfs_exists(fn));
|
||||
|
||||
const int w = g_xres, h = g_yres;
|
||||
|
Loading…
Reference in New Issue
Block a user