mirror of
https://github.com/sarah-walker-pcem/pcem.git
synced 2025-07-23 11:43:03 +02:00
Remove some debug messages from release builds. Closes #42
This commit is contained in:
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)
|
||||
|
Reference in New Issue
Block a user