GTK :
- Increased the emulation signal priority. The emulation speed is now more stable. - Fixed a bug in the frameskipping computation code and adjusted the values to make its time constant higher.
This commit is contained in:
parent
3c70cf79a8
commit
1a5e6f0835
|
@ -36,7 +36,6 @@ int systemRedShift;
|
|||
int systemGreenShift;
|
||||
int systemBlueShift;
|
||||
int systemColorDepth;
|
||||
int systemDebug;
|
||||
int systemVerbose;
|
||||
int systemSaveUpdateCounter;
|
||||
int systemFrameSkip;
|
||||
|
@ -46,7 +45,6 @@ u16 systemGbPalette[24];
|
|||
int systemThrottle = 0;
|
||||
|
||||
int emulating;
|
||||
bool debugger;
|
||||
int RGB_LOW_BITS_MASK;
|
||||
|
||||
// Extra vars, only used for the GUI
|
||||
|
|
|
@ -805,7 +805,6 @@ void Window::vInitSystem()
|
|||
#endif
|
||||
|
||||
systemColorDepth = 32;
|
||||
systemDebug = 0;
|
||||
systemVerbose = 0;
|
||||
systemSaveUpdateCounter = SYSTEM_SAVE_NOT_UPDATED;
|
||||
systemFrameSkip = 2;
|
||||
|
@ -1405,9 +1404,9 @@ void Window::vComputeFrameskip(int _iRate)
|
|||
iFrameskipAdjust--;
|
||||
}
|
||||
|
||||
if (iFrameskipAdjust <= -2)
|
||||
if (iFrameskipAdjust <= -4)
|
||||
{
|
||||
iFrameskipAdjust += 2;
|
||||
iFrameskipAdjust = 0;
|
||||
if (systemFrameSkip < 9)
|
||||
{
|
||||
systemFrameSkip++;
|
||||
|
@ -1558,7 +1557,7 @@ void Window::vStartEmu()
|
|||
}
|
||||
|
||||
m_oEmuSig = Glib::signal_idle().connect(sigc::mem_fun(*this, &Window::bOnEmuIdle),
|
||||
Glib::PRIORITY_DEFAULT_IDLE);
|
||||
Glib::PRIORITY_HIGH_IDLE + 30);
|
||||
}
|
||||
|
||||
void Window::vStopEmu()
|
||||
|
|
Loading…
Reference in New Issue