I poked around a little, and it turns out that in vi_cycle in vi/controller.c the variables hres and vres are always 0, which is because vi->regs[VI_H_START_REG] and friends are always 0 because they never get written to in write_vi_regs. Color me confused.
Setup: Xubuntu 14.04
gcc 4.8.2
latest commit from CEN64-backport
roms: e.g. Donke Kong 64, md5sum: 9ec41abf2519fc386cadd0731f6e868c
P.S.: I'm too lazy to create another account on the bugtracker, I hope it gets synced to the forum account soon
