Fixed compile-breaking mistakes in vid_bt485_ramdac.c.

This commit is contained in:
OBattler
2016-07-23 17:15:07 +02:00
parent 63e15d1763
commit 9c58822489

View File

@@ -11,12 +11,12 @@ int bt485_get_clock_divider(bt485_ramdac_t *ramdac)
return 1; /* Will be implemented later. */
}
void bt485_set_rs2(uint8_t rs2, bt485_ramdac_t *ramda)
void bt485_set_rs2(uint8_t rs2, bt485_ramdac_t *ramdac)
{
ramdac->rs2 = rs2 ? 1 : 0;
}
void bt485_set_rs3(uint8_t rs3, bt485_ramdac_t *ramda)
void bt485_set_rs3(uint8_t rs3, bt485_ramdac_t *ramdac)
{
ramdac->rs3 = rs3 ? 1 : 0;
}
@@ -91,7 +91,7 @@ uint8_t bt485_ramdac_in(uint16_t addr, bt485_ramdac_t *ramdac, svga_t *svga)
reg | = (ramdac->rs2 ? 4 : 0);
reg | = (ramdac->rs3 ? 8 : 0);
pclog("BT485 RAMDAC: Reading register %02\n", reg);
return;
return 0xFF;
switch (addr)
{