fix bug where ramwatch would not update without ramsearch open (thanks cwitty)
This commit is contained in:
parent
d7e57c83bf
commit
0589adbb56
|
@ -1188,6 +1188,11 @@ LRESULT CustomDraw (LPARAM lParam)
|
||||||
//extern "C" int disableRamSearchUpdate;
|
//extern "C" int disableRamSearchUpdate;
|
||||||
void Update_RAM_Search() //keeps RAM values up to date in the search and watch windows
|
void Update_RAM_Search() //keeps RAM values up to date in the search and watch windows
|
||||||
{
|
{
|
||||||
|
if(RamWatchHWnd)
|
||||||
|
{
|
||||||
|
Update_RAM_Watch();
|
||||||
|
}
|
||||||
|
|
||||||
if (!RamSearchHWnd) return;
|
if (!RamSearchHWnd) return;
|
||||||
// if(disableRamSearchUpdate)
|
// if(disableRamSearchUpdate)
|
||||||
// return;
|
// return;
|
||||||
|
@ -1271,11 +1276,6 @@ void Update_RAM_Search() //keeps RAM values up to date in the search and watch w
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(RamWatchHWnd)
|
|
||||||
{
|
|
||||||
Update_RAM_Watch();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int rs_lastPercent = -1;
|
static int rs_lastPercent = -1;
|
||||||
|
|
Loading…
Reference in New Issue