From 4f74e0eb407af152dd8d22ebd6f152d4c2314709 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Tue, 14 Oct 2025 16:48:49 +0300 Subject: [PATCH] Don't log PCI config addresses that don't match any device --- pci.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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; -- 2.47.3