OSD rotation option.
This commit is contained in:
12
osd.cpp
12
osd.cpp
@@ -593,6 +593,18 @@ void InfoEnable(int x, int y, int width, int height)
|
||||
DisableOsd();
|
||||
}
|
||||
|
||||
void OsdRotation(uint8_t rotate)
|
||||
{
|
||||
if (is_minimig()) return;
|
||||
spi_osd_cmd_cont(MM1_OSDCMDDISABLE);
|
||||
spi_w(0);
|
||||
spi_w(0);
|
||||
spi_w(0);
|
||||
spi_w(0);
|
||||
spi_w(rotate);
|
||||
DisableOsd();
|
||||
}
|
||||
|
||||
// disable displaying of OSD
|
||||
void OsdDisable(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user