Remove some debug messages from release builds. Closes #42

This commit is contained in:
pcem-maintainer
2021-07-04 13:35:05 -03:00
parent ff0828dc7d
commit 169d690834
2 changed files with 5 additions and 1 deletions

View File

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

View File

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