Conversation
|
Could you explain how this code works? I'm a bit confused. What makes the sema do something? |
With the To force 30 FPS, we must ensure the VBLANK interruption happens exactly twice, in order to achieve this, I have used 2 semaphores, so before swapping buffers, we need to ensure that both semaphores are being signaled already, and this is what The reason why I'm creating this example is because there are plenty of games whose FPS are set to 30FPS (as SuperMario 64), so this is just an example of how we could implement this. |
|
Ah okay, that makes sense. Would it be possible to add some additional comments to clarify this? |
Added as a comment at the top of the example file |
Description
This PR adds a sample to
gudirectory to force a 30 FPS app by using double vsync