| 228 | } |
| 229 | |
| 230 | static int TVCI(FCEUFILE *fp) { |
| 231 | int t; |
| 232 | if ((t = FCEU_fgetc(fp)) == EOF) |
| 233 | return(0); |
| 234 | if (t <= 2) { |
| 235 | const char *stuffo[3] = { "NTSC", "PAL", "NTSC and PAL" }; |
| 236 | if (t == 0) { |
| 237 | GameInfo->vidsys = GIV_NTSC; |
| 238 | FCEUI_SetVidSystem(0); |
| 239 | } else if (t == 1) { |
| 240 | GameInfo->vidsys = GIV_PAL; |
| 241 | FCEUI_SetVidSystem(1); |
| 242 | } |
| 243 | FCEU_printf(" TV Standard Compatibility: %s\n", stuffo[t]); |
| 244 | } |
| 245 | return(1); |
| 246 | } |
| 247 | |
| 248 | static int EnableBattery(FCEUFILE *fp) { |
| 249 | FCEU_printf(" Battery-backed.\n"); |
nothing calls this directly
no test coverage detected