summaryrefslogtreecommitdiff
path: root/Source/Core/Common
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2011-02-25 21:14:13 +0000
committerGlenn Rice <glennricster@gmail.com>2011-02-25 21:14:13 +0000
commit992f8be5b0ac4c391e50bb2e18cb2f7df1b7dd26 (patch)
treea479a4613d4fea10126c174bdc0502ae9680b719 /Source/Core/Common
parenteef715b1cf8730174777000f94252d9adf92332b (diff)
If video backend initialization fails, have the emulator die gracefully instead of crashing the application. Also a little clean up of the passage of the video window handle to the backend and back.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7248 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common')
-rw-r--r--Source/Core/Common/Src/VideoBackendBase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Src/VideoBackendBase.h b/Source/Core/Common/Src/VideoBackendBase.h
index c72a8a2cc9..e18e2a6acd 100644
--- a/Source/Core/Common/Src/VideoBackendBase.h
+++ b/Source/Core/Common/Src/VideoBackendBase.h
@@ -86,7 +86,7 @@ public:
virtual unsigned int PeekMessages() = 0;
- virtual void Initialize() = 0;
+ virtual bool Initialize(void *&) = 0;
virtual void Shutdown() = 0;
virtual void DoState(PointerWrap &p) = 0;