espressif / esp32-nesemu

Proof-of-concept NES emulator for the ESP32
543 stars 172 forks source link

LCD Rotation #13

Closed lemmingDev closed 5 years ago

lemmingDev commented 5 years ago

Would someone mind letting me know what code needs to be changed to rotate the screen 180 deg?

Thanks

lemmingDev commented 5 years ago

Got it

Had to change

LCD_WriteData(0x28); to LCD_WriteData(0x28 ^ 0xC0);

in spi_lcd.c