From 0fde32739643fe5c58ccb165731d7ffd4e02c1fa Mon Sep 17 00:00:00 2001 From: bubio Date: Sun, 30 Aug 2026 18:42:22 +0900 Subject: [PATCH] fix(fdc): remove ReadDiagnostic OSD toast during gameplay Read Diagnostic (FDC command 2) is a routine track-level disk access some titles use for verification/copy-protection checks. It was being surfaced via statusdisplay.Show() unconditionally, unlike other FDC commands that gate behind the "Show FDC Status" option, so it kept popping up as an on-screen toast during normal gameplay (e.g. the Sorcerian opening) with no way to suppress it. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01Rg91L7dcSjpYirGT9hWZXU --- src/pc88/fdc.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/pc88/fdc.cpp b/src/pc88/fdc.cpp index e288b42..b8c1eac 100644 --- a/src/pc88/fdc.cpp +++ b/src/pc88/fdc.cpp @@ -1189,9 +1189,6 @@ void FDC::ReadDiagnostic() uint dr = hdu & 3; uint flags = ((hdu >> 2) & 1) | (command & 0x40) | (drive[dr].hd & 0x80); uint size; - int tr = (drive[dr].cyrinder >> drive[dr].dd) * 2 + ((hdu>>2) & 1); - statusdisplay.Show(84, showstatus ? 1000 : 2000, - "ReadDiagnostic (Dr%d Tr%d)", dr, tr); result = diskmgr->GetFDU(dr)->MakeDiagData(flags, buffer, &size); if (result)