summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/PluginVideo.cpp
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2009-07-01 13:49:49 +0000
committerShawn Hoffman <godisgovernment@gmail.com>2009-07-01 13:49:49 +0000
commit1780f82dac08264c46a8e5d49c5da20d82ce071f (patch)
tree0d2da2b165ba03d52ade7c54aa067cc7f32efb2f /Source/Core/Common/Src/PluginVideo.cpp
parent39b9b887c16f826866b0274f490ca646d86e5aa8 (diff)
implement peeking z value from ppc. currently only works in single core mode. the pixel format may be slightly off of what the game actually desires. someone check please? :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3627 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/PluginVideo.cpp')
-rw-r--r--Source/Core/Common/Src/PluginVideo.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/Core/Common/Src/PluginVideo.cpp b/Source/Core/Common/Src/PluginVideo.cpp
index 96833da0ca..6f2b740f7b 100644
--- a/Source/Core/Common/Src/PluginVideo.cpp
+++ b/Source/Core/Common/Src/PluginVideo.cpp
@@ -29,6 +29,7 @@ PluginVideo::PluginVideo(const char *_Filename) : CPlugin(_Filename), validVideo
Video_ExitLoop = 0;
Video_Screenshot = 0;
Video_AddMessage = 0;
+ Video_AccessEFB = 0;
Video_Prepare = reinterpret_cast<TVideo_Prepare>
(LoadSymbol("Video_Prepare"));
@@ -44,6 +45,8 @@ PluginVideo::PluginVideo(const char *_Filename) : CPlugin(_Filename), validVideo
(LoadSymbol("Video_ExitLoop"));
Video_AddMessage = reinterpret_cast<TVideo_AddMessage>
(LoadSymbol("Video_AddMessage"));
+ Video_AccessEFB = reinterpret_cast<TVideo_AccessEFB>
+ (LoadSymbol("Video_AccessEFB"));
if ((Video_Prepare != 0) &&
(Video_SendFifoData != 0) &&
@@ -51,7 +54,8 @@ PluginVideo::PluginVideo(const char *_Filename) : CPlugin(_Filename), validVideo
(Video_EnterLoop != 0) &&
(Video_ExitLoop != 0) &&
(Video_Screenshot != 0) &&
- (Video_AddMessage != 0))
+ (Video_AddMessage != 0) &&
+ (Video_AccessEFB != 0))
validVideo = true;
}