Audiostuff (#236)
* Add option to enable/disable audio channels Audio options are backports from FCEUX. Options are set as on/off toggle for each apu channel. Compile with DEBUG=1 to see options. * Add missing audio state vars, fix for hq audio when using runahead * Additional checks for save ram (battery) * Cleanup * Update libretro header
This commit is contained in:
committed by
hizzlekizzle
parent
e3362d3772
commit
829a7552f1
@@ -58,8 +58,6 @@ static MEMWRAP *MakeMemWrap(void *tz, int type)
|
||||
fread(tmp->data, 1, tmp->size, (FILE*)tz);
|
||||
|
||||
doret:
|
||||
if (type == 0)
|
||||
fclose((FILE*)tz);
|
||||
return tmp;
|
||||
}
|
||||
|
||||
@@ -97,6 +95,7 @@ FCEUFILE * FCEU_fopen(const char *path, const char *ipsfn,
|
||||
|
||||
fseek((FILE*)t, 0, SEEK_SET);
|
||||
fceufp->fp = MakeMemWrap(t, 0);
|
||||
fclose((FILE*)t);
|
||||
}
|
||||
return fceufp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user