| 2094 | } bgdata; |
| 2095 | |
| 2096 | static inline int PaletteAdjustPixel(int pixel) { |
| 2097 | if ((PPU[1] >> 5) == 0x7) |
| 2098 | return (pixel & 0x3f) | 0xc0; |
| 2099 | else if (PPU[1] & 0xE0) |
| 2100 | return pixel | 0x40; |
| 2101 | else |
| 2102 | return (pixel & 0x3F) | 0x80; |
| 2103 | } |
| 2104 | |
| 2105 | int framectr = 0; |
| 2106 | int FCEUX_PPU_Loop(int skip) { |