Skip to content

Commit

Permalink
Merge pull request #1520 from JosJuice/dvdinterface-init
Browse files Browse the repository at this point in the history
DVDInterface: Initialize variables
  • Loading branch information
skidau committed Nov 12, 2014
2 parents 71d8165 + 519d851 commit 0cb9dcb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Source/Core/Core/HW/DVDInterface.cpp
Expand Up @@ -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);

Expand Down

0 comments on commit 0cb9dcb

Please sign in to comment.