1
0
Fork 0

New logging mesages for IO

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@995
This commit is contained in:
Sjoerd van der Berg 2003-05-06 07:43:01 +00:00
parent bd04952878
commit 83a044b472

View file

@ -42,13 +42,13 @@ static void IO_WriteBlocked(Bit32u port,Bit8u val) {
}
static Bit8u IO_ReadDefault(Bit32u port) {
LOG(LOG_ALL,LOG_ERROR)("Reading from undefined port %04X",port);
LOG(LOG_IO,LOG_ERROR)("Reading from undefined port %04X",port);
IO_RegisterReadHandler(port,&IO_ReadBlocked,"Blocked Read");
return 0xff;
}
void IO_WriteDefault(Bit32u port,Bit8u val) {
LOG(LOG_ALL,LOG_ERROR)("Writing %02X to undefined port %04X",static_cast<Bit32u>(val),port);
LOG(LOG_IO,LOG_ERROR)("Writing %02X to undefined port %04X",val,port);
IO_RegisterWriteHandler(port,&IO_WriteBlocked,"Blocked Write");
}