diff options
author | Toad King | 2012-10-24 16:16:35 -0400 |
---|---|---|
committer | Toad King | 2012-10-24 16:16:35 -0400 |
commit | 95b246566efccacd2e2258f23ee353c241196a19 (patch) | |
tree | b84b4d3d7f91409421b49e9a69d71ad7db0c9e1e /src/screenshot.c | |
parent | 109957ecb55823f3d60a9a75a6e1f5d9a3d07b83 (diff) | |
download | snes9x2002-95b246566efccacd2e2258f23ee353c241196a19.tar.gz snes9x2002-95b246566efccacd2e2258f23ee353c241196a19.tar.bz2 snes9x2002-95b246566efccacd2e2258f23ee353c241196a19.zip |
Android makefile
Diffstat (limited to 'src/screenshot.c')
-rw-r--r-- | src/screenshot.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/screenshot.c b/src/screenshot.c index ab169cf..14a4efa 100644 --- a/src/screenshot.c +++ b/src/screenshot.c @@ -17,7 +17,7 @@ void getScreenShot(unsigned short *screen) { screen += 32;
if (!screenShot) {
- screenShot = gCreateBitmap(SS_WIDTH, SS_HEIGHT, 32);
+ screenShot = 0;//gCreateBitmap(SS_WIDTH, SS_HEIGHT, 32);
if (!screenShot) return;
}
@@ -40,7 +40,7 @@ int saveScreenShot() { if (!screenShot) return -1;
// get filename of last loaded ROM (the running one)
- getConfigValue(CONFIG_LASTLOADED, fn, sizeof(fn));
+ //getConfigValue(CONFIG_LASTLOADED, fn, sizeof(fn));
// set file ext to .png
ext = strrchr(fn, '.');
if (!ext) ext = &fn[strlen(fn)];
@@ -48,7 +48,7 @@ int saveScreenShot() { // compose screenshot file's full path
sprintf(png_fn, "%s%s", getScreenShotsDir(), strrchr(fn, '/'));
- ret = save_png(screenShot, png_fn);
+ ret = 0;//save_png(screenShot, png_fn);
sync();
return ret;
@@ -66,6 +66,6 @@ const char *getScreenShotsDir() { }
void destroyScreenShot() {
- gDestroyBitmap(screenShot);
+ //gDestroyBitmap(screenShot);
screenShot = NULL;
}
|