From 1780f82dac08264c46a8e5d49c5da20d82ce071f Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Wed, 1 Jul 2009 13:49:49 +0000 Subject: 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 --- Source/Core/Common/Src/PluginVideo.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Source/Core/Common/Src/PluginVideo.cpp') 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 (LoadSymbol("Video_Prepare")); @@ -44,6 +45,8 @@ PluginVideo::PluginVideo(const char *_Filename) : CPlugin(_Filename), validVideo (LoadSymbol("Video_ExitLoop")); Video_AddMessage = reinterpret_cast (LoadSymbol("Video_AddMessage")); + Video_AccessEFB = reinterpret_cast + (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; } -- cgit v1.2.3