As requested apply the same changes made by rev 6958822f1957 to the D3D9 backend. handle v-sync changed while the emulation is running. thanks to neobrain for pointing the missing functionality.