mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-25 06:44:59 +00:00
Merge pull request #1520 from JosJuice/dvdinterface-init
DVDInterface: Initialize variables
This commit is contained in:
commit
0cb9dcb5fc
1 changed files with 5 additions and 0 deletions
|
@ -346,9 +346,14 @@ void Init()
|
||||||
CurrentStart = 0;
|
CurrentStart = 0;
|
||||||
CurrentLength = 0;
|
CurrentLength = 0;
|
||||||
|
|
||||||
|
g_ErrorCode = 0;
|
||||||
|
g_bDiscInside = false;
|
||||||
g_bStream = false;
|
g_bStream = false;
|
||||||
g_bStopAtTrackEnd = false;
|
g_bStopAtTrackEnd = false;
|
||||||
|
|
||||||
|
g_last_read_offset = 0;
|
||||||
|
g_last_read_time = 0;
|
||||||
|
|
||||||
ejectDisc = CoreTiming::RegisterEvent("EjectDisc", EjectDiscCallback);
|
ejectDisc = CoreTiming::RegisterEvent("EjectDisc", EjectDiscCallback);
|
||||||
insertDisc = CoreTiming::RegisterEvent("InsertDisc", InsertDiscCallback);
|
insertDisc = CoreTiming::RegisterEvent("InsertDisc", InsertDiscCallback);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue