DVDInterface: Make a global a local variable

This commit is contained in:
Lioncash 2016-01-23 18:40:55 -05:00
parent aa39b0dab1
commit a2dc22f016
2 changed files with 1 additions and 2 deletions

View File

@ -242,7 +242,7 @@ static u32 NextLength;
static u32 g_ErrorCode = 0;
static bool g_bDiscInside = false;
bool g_bStream = false;
static bool g_bStream = false;
static bool g_bStopAtTrackEnd = false;
static int finish_execute_command = 0;
static int dtk = 0;

View File

@ -105,7 +105,6 @@ bool IsDiscInside();
void ChangeDisc(const std::string& fileName);
// DVD Access Functions
extern bool g_bStream;
bool ChangePartition(u64 offset);
void ExecuteCommand(u32 command_0, u32 command_1, u32 command_2, u32 output_address, u32 output_length,
bool write_to_DIIMMBUF, int callback_event_type);