summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/PluginVideo.cpp
diff options
context:
space:
mode:
authorNolan Check <Nolan.Check@gmail.com>2009-07-15 22:20:59 +0000
committerNolan Check <Nolan.Check@gmail.com>2009-07-15 22:20:59 +0000
commitfdc2b691439781500892536c896d4ff4a273802a (patch)
treec0cc987e157e4615ead83adcf85a9b62c802cba0 /Source/Core/Common/Src/PluginVideo.cpp
parenta73dd21ee983862388d6eeafb260da4694472873 (diff)
Better TV emulation. Seems to fix problem in 50 Hz PAL games where frames go backwards.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3811 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 a17823d718..06c46eb84e 100644
--- a/Source/Core/Common/Src/PluginVideo.cpp
+++ b/Source/Core/Common/Src/PluginVideo.cpp
@@ -25,6 +25,7 @@ PluginVideo::PluginVideo(const char *_Filename) : CPlugin(_Filename), validVideo
Video_Prepare = 0;
Video_SendFifoData = 0;
Video_BeginField = 0;
+ Video_EndField = 0;
Video_EnterLoop = 0;
Video_ExitLoop = 0;
Video_Screenshot = 0;
@@ -37,6 +38,8 @@ PluginVideo::PluginVideo(const char *_Filename) : CPlugin(_Filename), validVideo
(LoadSymbol("Video_SendFifoData"));
Video_BeginField = reinterpret_cast<TVideo_BeginField>
(LoadSymbol("Video_BeginField"));
+ Video_EndField = reinterpret_cast<TVideo_EndField>
+ (LoadSymbol("Video_EndField"));
Video_Screenshot = reinterpret_cast<TVideo_Screenshot>
(LoadSymbol("Video_Screenshot"));
Video_EnterLoop = reinterpret_cast<TVideo_EnterLoop>
@@ -50,7 +53,8 @@ PluginVideo::PluginVideo(const char *_Filename) : CPlugin(_Filename), validVideo
if ((Video_Prepare != 0) &&
(Video_SendFifoData != 0) &&
- (Video_BeginField != 0) &&
+ (Video_BeginField != 0) &&
+ (Video_EndField != 0) &&
(Video_EnterLoop != 0) &&
(Video_ExitLoop != 0) &&
(Video_Screenshot != 0) &&