Y U confuse me about VSync
Posted: Thu Oct 17, 2013 3:03 pm
VSync for me... it is such point in time, when you can do things invisible.
So, it is time, when you need to make fast changes on screen, and after such changes, you can do long calculations.
For example, WAIT_VSYNC in DirectDraw means wait period when you can fast blit screen, and it will be invisible.
So, this period is VBLANK. And for me, VDP_waitVSync() must wait VBLANK.
But in code in SGDK... I see opposite. It's wait for VBLANK OFF.
It is your sgdk, so do what you wanna do. Bug in my code is found.
So, it is time, when you need to make fast changes on screen, and after such changes, you can do long calculations.
For example, WAIT_VSYNC in DirectDraw means wait period when you can fast blit screen, and it will be invisible.
So, this period is VBLANK. And for me, VDP_waitVSync() must wait VBLANK.
But in code in SGDK... I see opposite. It's wait for VBLANK OFF.
It is your sgdk, so do what you wanna do. Bug in my code is found.