From 198d33dafb0b320a86c43a15bb29b63169eb74be Mon Sep 17 00:00:00 2001 From: Uwe Seimet Date: Mon, 19 Feb 2024 10:13:09 +0100 Subject: [PATCH] Fix wrong warning about CD-ROM image file size --- cpp/devices/scsicd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/devices/scsicd.cpp b/cpp/devices/scsicd.cpp index e1d356bd..71ffccc4 100644 --- a/cpp/devices/scsicd.cpp +++ b/cpp/devices/scsicd.cpp @@ -112,8 +112,8 @@ void SCSICD::OpenIso() } if (rawfile) { - if (size % 2536) { - LogWarn("Raw ISO CD-ROM file size is not a multiple of 2536 bytes but is " + if (size % 2352) { + LogWarn("Raw ISO CD-ROM file size is not a multiple of 2352 bytes but is " + to_string(size) + " bytes"); }