Remove some debug messages from release builds. Closes #42
This commit is contained in:
parent
ff0828dc7d
commit
169d690834
2 changed files with 5 additions and 1 deletions
2
src/pc.c
2
src/pc.c
|
|
@ -621,7 +621,7 @@ void fullspeed()
|
|||
cpuspeed2=cpuspeed;
|
||||
if (!atfullspeed)
|
||||
{
|
||||
printf("Set fullspeed - %i %i %i\n",is386,AT,cpuspeed2);
|
||||
pclog("Set fullspeed - %i %i %i\n",is386,AT,cpuspeed2);
|
||||
if (AT)
|
||||
setpitclock(models[model].cpu[cpu_manufacturer].cpus[cpu].rspeed);
|
||||
else
|
||||
|
|
|
|||
|
|
@ -115,8 +115,10 @@ void wx_checkmenuitem(void* menu, int id, int checked)
|
|||
|
||||
if (item)
|
||||
item->Check(checked);
|
||||
#ifndef RELEASE_BUILD
|
||||
else
|
||||
std::cout << "Menu item not found: " << id << std::endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
void wx_enablemenuitem(void* menu, int id, int enable)
|
||||
|
|
@ -129,8 +131,10 @@ void wx_enablemenuitem(void* menu, int id, int enable)
|
|||
|
||||
if (item)
|
||||
item->Enable(enable);
|
||||
#ifndef RELEASE_BUILD
|
||||
else
|
||||
std::cout << "Menu item not found: " << id << std::endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
void* wx_getsubmenu(void* menu, int id)
|
||||
|
|
|
|||
Loading…
Reference in a new issue