Re: [Tuxnes-devel] Smoother scrolling
Brought to you by:
tmmm
From: Ryan J. <pro...@ya...> - 2004-01-20 14:22:20
|
On Tue, Jan 20, 2004 at 03:43:48AM -0500, Jason Dorje Short wrote: > > but I guess the problem would kick in after about 60 minutes anyway, so > it's just as well. This calculation needs to be done with an 8-byte > "long long". (Side note: I didn't know a "long" was only 4 bytes???) I tried that myself, but forgot a cast, so the emu just hung. I got frustrated and gave up. I feel stupid now :-( > So, here's a new patch. > Does this work better than the current behavior on your system? Definately! Things look a lot smoother now. I've noticed a couple of things however. It seems to run more smoothly in some display modes than in others. Might this have something to do with the difference between the NTSC refresh rate and whatever rate my monitor is running at? (I don't know too much about that stuff (yet)). The new behavior seems to make the emulator more sensitive to timing problems when sharing the CPU with another cpu-bound process. Example: I was testing the patch with Super Mario Brothers. After a few minutes, cron started a password-cracking process in the background. Not only did play slow down (as with the old behavior), but every few seconds the graphics would glitch. It looked like it started to redraw the framebuffer, but instead of drawing it at the top of the screen it started in the middle. Kind of hard to describe. :-/ Other than that, it looks good. |