Merge pull request #1520 from JosJuice/dvdinterface-init

DVDInterface: Initialize variables
This commit is contained in:
skidau 2014-11-12 12:11:03 +11:00
commit 0cb9dcb5fc

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);