DVDInterface: Initialize variables

This commit is contained in:
JosJuice 2014-11-09 11:54:04 +01:00
parent 4714564fbd
commit 519d851bf8

View File

@ -346,9 +346,14 @@ void Init()
CurrentStart = 0;
CurrentLength = 0;
g_ErrorCode = 0;
g_bDiscInside = false;
g_bStream = false;
g_bStopAtTrackEnd = false;
g_last_read_offset = 0;
g_last_read_time = 0;
ejectDisc = CoreTiming::RegisterEvent("EjectDisc", EjectDiscCallback);
insertDisc = CoreTiming::RegisterEvent("InsertDisc", InsertDiscCallback);