summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-01-23 18:40:55 -0500
committerLioncash <mathew1800@gmail.com>2016-01-23 18:40:55 -0500
commita2dc22f016005b03bbfaada0763dcd60e3c2ce21 (patch)
treeb7231971f484f0846a8d5df3616882ed7a782aa6 /Source
parentaa39b0dab1bf435df690a5a8d41338824dacba53 (diff)
DVDInterface: Make a global a local variable
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/HW/DVDInterface.cpp2
-rw-r--r--Source/Core/Core/HW/DVDInterface.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/Core/HW/DVDInterface.cpp b/Source/Core/Core/HW/DVDInterface.cpp
index 69802e57af..4f1d462021 100644
--- a/Source/Core/Core/HW/DVDInterface.cpp
+++ b/Source/Core/Core/HW/DVDInterface.cpp
@@ -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;
diff --git a/Source/Core/Core/HW/DVDInterface.h b/Source/Core/Core/HW/DVDInterface.h
index c931e128ff..5c711cdeba 100644
--- a/Source/Core/Core/HW/DVDInterface.h
+++ b/Source/Core/Core/HW/DVDInterface.h
@@ -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);