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

Function FCEUPPU_SetVideoSystem

src/ppu.cpp:1698–1710  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1696}
1697
1698void FCEUPPU_SetVideoSystem(int w) {
1699 if (w) {
1700 scanlines_per_frame = dendy ? 262: 312;
1701 FSettings.FirstSLine = FSettings.UsrFirstSLine[1];
1702 FSettings.LastSLine = FSettings.UsrLastSLine[1];
1703 //paldeemphswap = 1; // dendy has pal ppu, and pal ppu has these swapped
1704 } else {
1705 scanlines_per_frame = 262;
1706 FSettings.FirstSLine = FSettings.UsrFirstSLine[0];
1707 FSettings.LastSLine = FSettings.UsrLastSLine[0];
1708 //paldeemphswap = 0;
1709 }
1710}
1711
1712//Initializes the PPU
1713void FCEUPPU_Init(void) {

Callers 1

FCEU_ResetVidSysFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected