fix bug where ramwatch would not update without ramsearch open (thanks cwitty)

This commit is contained in:
zeromus 2009-10-09 21:33:35 +00:00
parent d7e57c83bf
commit 0589adbb56
1 changed files with 5 additions and 5 deletions

View File

@ -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;