diff --git a/es-app/src/PDFViewer.cpp b/es-app/src/PDFViewer.cpp index 7baaf54e9..bc79d05fe 100644 --- a/es-app/src/PDFViewer.cpp +++ b/es-app/src/PDFViewer.cpp @@ -89,7 +89,6 @@ bool PDFViewer::startPDFViewer(FileData* game) if (!getDocumentInfo()) { LOG(LogError) << "PDFViewer: Couldn't load file \"" << mManualPath << "\""; - NavigationSounds::getInstance().playThemeNavigationSound(SCROLLSOUND); ViewController::getInstance()->stopViewVideos(); return false; } @@ -99,7 +98,6 @@ bool PDFViewer::startPDFViewer(FileData* game) for (int i {1}; i <= mPageCount; ++i) { if (mPages.find(i) == mPages.end()) { LOG(LogError) << "Couldn't read information for page " << i << ", invalid PDF file?"; - NavigationSounds::getInstance().playThemeNavigationSound(SCROLLSOUND); ViewController::getInstance()->stopViewVideos(); return false; } diff --git a/es-core/src/Window.cpp b/es-core/src/Window.cpp index 879bbcf15..9cb67d40b 100644 --- a/es-core/src/Window.cpp +++ b/es-core/src/Window.cpp @@ -923,6 +923,9 @@ void Window::startPDFViewer(FileData* game) mRenderPDFViewer = true; } + else { + queueInfoPopup("ERROR: COULDN'T RENDER PDF FILE", 4000); + } } }