Avoid logging on some noisy ports

This commit is contained in:
Fabian 2022-07-20 21:42:37 +09:00
parent 52163a1fdf
commit 04a0cf4b5f

View file

@ -805,11 +805,10 @@ CPU.prototype.init = function(settings, device_bus)
if(DEBUG)
{
// Use by linux for port-IO delay
// Avoid generating tons of debug messages
io.register_write(0x80, this, function(out_byte)
{
});
// Avoid logging noisey ports
io.register_write(0x80, this, function(out_byte) {});
io.register_read(0x80, this, function() { return 0xFF; });
io.register_write(0xE9, this, function(out_byte) {});
}
this.devices = {};