Fix the fix.

This commit is contained in:
TC1995
2022-07-15 18:36:47 +02:00
parent 0ba7c3c025
commit 3cc3bb339a
2 changed files with 0 additions and 13 deletions

View File

@@ -662,7 +662,6 @@ static void
ibm8514_ramdac_out(uint16_t port, uint8_t val, void *p)
{
svga_t *svga = (svga_t *)p;
uint8_t index;
switch (port) {
case 0x2ea:
@@ -1038,8 +1037,6 @@ ibm8514_short_stroke_start(int count, int cpu_input, uint32_t mix_dat, uint32_t
ibm8514_accel_start(count, cpu_input, mix_dat, cpu_dat, dev, len);
}
#define SWAP(a,b) { tmpswap = a; a = b; b = tmpswap; }
static void
ibm8514_accel_start(int count, int cpu_input, uint32_t mix_dat, uint32_t cpu_dat, ibm8514_t *dev, int len)
{
@@ -1060,7 +1057,6 @@ ibm8514_accel_start(int count, int cpu_input, uint32_t mix_dat, uint32_t cpu_dat
uint32_t old_mix_dat;
int and3 = dev->accel.cur_x & 3;
uint8_t poly_src = 0;
int16_t tmpswap = 0;
if (dev->accel.cmd & 0x100) {
dev->force_busy = 1;

View File

@@ -2210,8 +2210,6 @@ xga_write(uint32_t addr, uint8_t val, void *p)
static void
xga_writeb(uint32_t addr, uint8_t val, void *p)
{
svga_t *svga = (svga_t *)p;
//pclog("[%04X:%08X]: WriteB\n", CS, cpu_state.pc);
xga_write(addr, val, p);
}
@@ -2219,8 +2217,6 @@ xga_writeb(uint32_t addr, uint8_t val, void *p)
static void
xga_writew(uint32_t addr, uint16_t val, void *p)
{
svga_t *svga = (svga_t *)p;
//pclog("[%04X:%08X]: WriteW\n", CS, cpu_state.pc);
xga_write(addr, val, p);
xga_write(addr + 1, val >> 8, p);
@@ -2229,8 +2225,6 @@ xga_writew(uint32_t addr, uint16_t val, void *p)
static void
xga_writel(uint32_t addr, uint32_t val, void *p)
{
svga_t *svga = (svga_t *)p;
//pclog("[%04X:%08X]: WriteL\n", CS, cpu_state.pc);
xga_write(addr, val, p);
xga_write(addr + 1, val >> 8, p);
@@ -2336,7 +2330,6 @@ xga_read(uint32_t addr, void *p)
static uint8_t
xga_readb(uint32_t addr, void *p)
{
svga_t *svga = (svga_t *)p;
uint8_t ret;
ret = xga_read(addr, p);
@@ -2347,7 +2340,6 @@ xga_readb(uint32_t addr, void *p)
static uint16_t
xga_readw(uint32_t addr, void *p)
{
svga_t *svga = (svga_t *)p;
uint16_t ret;
ret = xga_read(addr, p);
@@ -2359,7 +2351,6 @@ xga_readw(uint32_t addr, void *p)
static uint32_t
xga_readl(uint32_t addr, void *p)
{
svga_t *svga = (svga_t *)p;
uint32_t ret;
ret = xga_read(addr, p);