From ea8e06fcf9d865b83465ee704b3a8c4cc11055df Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 26 Oct 2008 19:27:26 +0000 Subject: [PATCH] Implemented FR #2038951: "ALL: visible warning when CD music missing" svn-id: r34856 --- engines/engine.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/engines/engine.cpp b/engines/engine.cpp index a17f1e51530..d5d5498384e 100644 --- a/engines/engine.cpp +++ b/engines/engine.cpp @@ -183,6 +183,17 @@ void Engine::checkCD() { "the data files to your hard disk instead.\n" "See the README file for details.", "OK"); dialog.runModal(); + } else { + // If we reached here, the game has audio tracks, + // it's not ran from the CD and the tracks have not + // been ripped. + GUI::MessageDialog dialog( + "This game has audio tracks in its disk. These\n" + "tracks need to be ripped from the disk using\n" + "an appropriate CD audio extracting tool in\n" + "order to listen to the game's music.\n" + "See the README file for details.", "OK"); + dialog.runModal(); } #endif }