02-21-2005, 04:34 AM
Hi!
I needed a trick to get smooth GFX with SDL as my machine seemed to have better things to do than to run my game.
So, if anyone needs it, try this:
If win32return is 0 then do something that tells the error.
With this you will get a priority level one over normal, but dont try to burn a disc while you do this, you burning software will produce a puffer underrun. Everything else wont care
So Long, The Werelion!
I needed a trick to get smooth GFX with SDL as my machine seemed to have better things to do than to run my game.
So, if anyone needs it, try this:
Code:
'$include: 'win\kernel32.bi'
.
.
.
.
win32return = SetPriorityClass(GetCurrentProcess(),&h00008000)
If win32return is 0 then do something that tells the error.
With this you will get a priority level one over normal, but dont try to burn a disc while you do this, you burning software will produce a puffer underrun. Everything else wont care
So Long, The Werelion!