Made the OpenGL iLog setting changeable from the debugging window

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1232 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson
2008-11-21 01:28:00 +00:00
parent f5a92e2e9e
commit 8a77ca8189
22 changed files with 642 additions and 474 deletions

View File

@ -47,7 +47,6 @@
// -------------
extern int nFiles;
float ratioFactor; // a global to get the ratio factor from MixAdd
int gUpdFreq = 5;
int gPreset = 0;
u32 gLastBlock;
extern bool gSSBM;
@ -159,7 +158,7 @@ void Logging(int a)
if(a == 0) j++;
//if(l == pow((double)2,32)) l=0; // reset l
//l++;
if (gUpdFreq > 0 && j > (30/gUpdFreq))
if (m_frame->gUpdFreq > 0 && j > (30 / m_frame->gUpdFreq))
{