Take out most of the __LIBRETRO__ hacks in mainline codebase

This commit is contained in:
twinaphex
2014-04-18 19:22:25 +02:00
parent 216a88eda3
commit da7ac270f8
8 changed files with 0 additions and 78 deletions

View File

@@ -40,10 +40,6 @@
uint8 *XBuf = NULL;
static uint8 *xbsave = NULL;
#ifndef __LIBRETRO__
#define SNAPSHOTS_ENABLED
#endif
void FCEU_KillVirtualVideo(void) {
if (xbsave) {
free(xbsave);
@@ -179,7 +175,6 @@ static int WritePNGChunk(FILE *fp, uint32 size, char *type, uint8 *data) {
}
int SaveSnapshot(void) {
#ifdef SNAPSHOTS_ENABLED
static uint32 lastu = 0;
char *fn = 0;
@@ -274,7 +269,6 @@ int SaveSnapshot(void) {
free(compmem);
if (pp)
fclose(pp);
#endif
return(0);
}