440 |
a = (0x11 - ((ratio >> 0xe) & 0x3)) - 2; |
a = (0x11 - ((ratio >> 0xe) & 0x3)) - 2; |
441 |
} else |
} else |
442 |
a = 0xc; |
a = 0xc; |
443 |
temp = hwread(vortex->mmio, 0xce00 + (src << 2)); |
temp = hwread(vortex->mmio, VORTEX_SRC_U0 + (src << 2)); |
444 |
if (((temp >> 4) & 0xf) != a) |
if (((temp >> 4) & 0xf) != a) |
445 |
hwwrite(vortex->mmio, 0xce00 + (src << 2), (temp & 0xf) | ((a & 0xf) << 4)); |
hwwrite(vortex->mmio, VORTEX_SRC_U0 + (src << 2), (temp & 0xf) | ((a & 0xf) << 4)); |
446 |
|
|
447 |
vortex_src_persist_convratio(vortex, src, ratio); |
vortex_src_persist_convratio(vortex, src, ratio); |
448 |
} |
} |