From: Toni Wilen Date: Tue, 14 Oct 2025 13:48:49 +0000 (+0300) Subject: Don't log PCI config addresses that don't match any device X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=4f74e0eb407af152dd8d22ebd6f152d4c2314709;p=francis%2Fwinuae.git Don't log PCI config addresses that don't match any device --- diff --git a/pci.cpp b/pci.cpp index 9be20204..85951ac4 100644 --- a/pci.cpp +++ b/pci.cpp @@ -720,7 +720,9 @@ static uae_u32 REGPARAM2 pci_config_wget(uaecptr addr) v |= config[(offset ^ (endianswap > 0 ? 2 : 0)) + 0] << 0; } #if PCI_DEBUG_CONFIG - write_log(_T("-> %04x\n"), v); + if (config != config_return) { + write_log(_T("-> %04x\n"), v); + } #endif } return v; @@ -738,7 +740,9 @@ static uae_u32 REGPARAM2 pci_config_bget(uaecptr addr) v = config[beswap(endianswap, offset)]; } #if PCI_DEBUG_CONFIG - write_log(_T("-> %02x\n"), v); + if (config != config_return) { + write_log(_T("-> %02x\n"), v); + } #endif } return v;