Set a hard limit on the FPS of your game.
Luan Himmlisch has ported it to SDK2!
masterpose.itch.io/fps-manager-c3
Yes. Thank you. I tried it. It worked fine in one of my games. My other game was freezing. I'll keep trying.