MCPcopy Create free account
hub / github.com/TASEmulators/fceux / EnableBattery

Function EnableBattery

src/unif.cpp:248–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248static int EnableBattery(FCEUFILE *fp) {
249 FCEU_printf(" Battery-backed.\n");
250 if (FCEU_fgetc(fp) == EOF)
251 return(0);
252 UNIFCart.battery = 1;
253 return(1);
254}
255
256static int LoadPRG(FCEUFILE *fp) {
257 int z, t;

Callers

nothing calls this directly

Calls 2

FCEU_printfFunction · 0.85
FCEU_fgetcFunction · 0.85

Tested by

no test coverage detected