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:
janwas 2004-07-09 20:03:15 +00:00
parent 127edbd271
commit 1a8f8df5f6

View File

@ -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;