diff options
| author | XTra.KrazzY <XTra.KrazzY@gmail.com> | 2009-08-08 01:39:56 +0000 |
|---|---|---|
| committer | XTra.KrazzY <XTra.KrazzY@gmail.com> | 2009-08-08 01:39:56 +0000 |
| commit | 51ddedf512a3795193fb809281beb5d5453bc73a (patch) | |
| tree | d6f2c2dfb5e9afe3b29f84aff2f788890d358294 /Source/Core/Common | |
| parent | 9cbfadb885b585ecbd1e93c885edeb27bbf830e7 (diff) | |
Frameskipping! Complete with GUI! Even my most naive approach resulted in great speeds, even with graphic-intensive games such as Pikmin.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3949 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/Src/PluginVideo.cpp | 3 | ||||
| -rw-r--r-- | Source/Core/Common/Src/PluginVideo.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/Common/Src/PluginVideo.cpp b/Source/Core/Common/Src/PluginVideo.cpp index b35d62a805..159f72f261 100644 --- a/Source/Core/Common/Src/PluginVideo.cpp +++ b/Source/Core/Common/Src/PluginVideo.cpp @@ -50,6 +50,8 @@ PluginVideo::PluginVideo(const char *_Filename) : CPlugin(_Filename), validVideo (LoadSymbol("Video_AddMessage")); Video_AccessEFB = reinterpret_cast<TVideo_AccessEFB> (LoadSymbol("Video_AccessEFB")); + Video_SetRendering = reinterpret_cast<TVideo_SetRendering> + (LoadSymbol("Video_SetRendering")); if ((Video_Prepare != 0) && (Video_SendFifoData != 0) && @@ -59,6 +61,7 @@ PluginVideo::PluginVideo(const char *_Filename) : CPlugin(_Filename), validVideo (Video_ExitLoop != 0) && (Video_Screenshot != 0) && (Video_AddMessage != 0) && + (Video_SetRendering != 0) && (Video_AccessEFB != 0)) validVideo = true; } diff --git a/Source/Core/Common/Src/PluginVideo.h b/Source/Core/Common/Src/PluginVideo.h index 25e1582d4e..85af93f907 100644 --- a/Source/Core/Common/Src/PluginVideo.h +++ b/Source/Core/Common/Src/PluginVideo.h @@ -30,6 +30,7 @@ typedef void (__cdecl* TVideo_EndField)(); typedef bool (__cdecl* TVideo_Screenshot)(const char* filename); typedef void (__cdecl* TVideo_EnterLoop)(); typedef void (__cdecl* TVideo_ExitLoop)(); +typedef void (__cdecl* TVideo_SetRendering)(bool bEnabled); typedef void (__cdecl* TVideo_AddMessage)(const char* pstr, unsigned int milliseconds); typedef u32 (__cdecl* TVideo_AccessEFB)(EFBAccessType, u32, u32); @@ -51,6 +52,8 @@ public: TVideo_AddMessage Video_AddMessage; TVideo_Screenshot Video_Screenshot; + TVideo_SetRendering Video_SetRendering; + private: bool validVideo; }; |
