aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp/image_viewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/psp/image_viewer.cpp')
-rw-r--r--backends/platform/psp/image_viewer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/psp/image_viewer.cpp b/backends/platform/psp/image_viewer.cpp
index 66a5412034..e3fb786774 100644
--- a/backends/platform/psp/image_viewer.cpp
+++ b/backends/platform/psp/image_viewer.cpp
@@ -118,6 +118,10 @@ void ImageViewer::unload() {
_init = false;
}
+void ImageViewer::resetOnEngineDone() {
+ _imageNum = 0;
+}
+
void ImageViewer::setVisible(bool visible) {
DEBUG_ENTER_FUNC();
if (_visible == visible)