08-31-2009, 09:48 PM
I just found this to be interesting:
The game uses Mode 4 (240x160, 256 colors, double buffered).
The game swaps buffers only every third frame of 60Hz, so it actually runs at 20 fps.
Why is that? Because the backbuffer is rendered in three steps, as you can see here:
![[Image: attachment.php?aid=171]](http://vba-m.com/forum/attachment.php?aid=171)
I also noticed that nearby enemies are drawn on top of the protagonist, even if they are behind him. That's probably related to that three-step-rendering process. This happens on real hardware (Nintendo DS) and is exactly emulated by VBA-M. The game & sound speed seems also to be exactly the same as on hardware.
The game uses Mode 4 (240x160, 256 colors, double buffered).
The game swaps buffers only every third frame of 60Hz, so it actually runs at 20 fps.
Why is that? Because the backbuffer is rendered in three steps, as you can see here:
I also noticed that nearby enemies are drawn on top of the protagonist, even if they are behind him. That's probably related to that three-step-rendering process. This happens on real hardware (Nintendo DS) and is exactly emulated by VBA-M. The game & sound speed seems also to be exactly the same as on hardware.