summaryrefslogtreecommitdiff
path: root/src/d/d_error_msg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/d_error_msg.cpp')
-rw-r--r--src/d/d_error_msg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_error_msg.cpp b/src/d/d_error_msg.cpp
index 9bfc896a71..ecbb1d2a0a 100644
--- a/src/d/d_error_msg.cpp
+++ b/src/d/d_error_msg.cpp
@@ -209,8 +209,8 @@ void dDvdErrorMsg_c::draw(s32 status) {
JFWDisplay::getManager()->resetFader();
}
-u8 dDvdErrorMsg_c::execute() {
- static u8 l_dvdError;
+bool dDvdErrorMsg_c::execute() {
+ static bool l_dvdError;
s32 drive_status = DVDGetDriveStatus();
if (drive_status != DVD_STATE_END && drive_status != DVD_STATE_BUSY && !l_dvdError) {