Sleep during menu loop

Found a bug? Please report it, but remember to follow the bug reporting guidelines.
Missing a sane feature? Let us know!
But please do NOT request ports to other systems.

Moderator: ZSNES Mods

Post Reply
roothorick
New Member
Posts: 3
Joined: Sun Dec 25, 2005 7:12 pm

Sleep during menu loop

Post by roothorick »

I can't help but notice that when ZSNES is in its internal menu, it's eating CPU cycles like crazy. I typically use this menu as a sort of pause screen so I can do other things on my computer (I run in a window), but if ZSNES has the whole CPU it's kinda difficult to do compiles and such. It'd be really nice if while in this menu ZSNES would sleep() / usleep() a little bit, so that I can have most of my CPU when emulation is stopped. Besides, my computer produces enough heat as it is, I don't need it pointlessly under load.
Agozer
16-bit Corpse | Nyoron~
Posts: 3534
Joined: Sun Aug 01, 2004 7:14 pm
Location: Nokia Land

Post by Agozer »

What version are you using? I suggest that you try the latest WIP from http://www.ipherswipsite.com and see if that fixes the problem.
whicker: franpa is grammatically correct, and he still gets ripped on?
sweener2001: Grammatically correct this one time? sure. every other time? no. does that give him a right? not really.
Image
Post Reply