mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Remove PluginSpecs.h. Merge the few needed enums from that file into Common.h for now. I am up for suggestions on a better place for those.
Fix frame dumping on linux. Make sure that on screen messages get cleared between games. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7039 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -159,4 +159,24 @@ private:
|
||||
#define _M_SSE 0x401
|
||||
#endif
|
||||
|
||||
// Host communication.
|
||||
enum HOST_COMM
|
||||
{
|
||||
// Begin at 10 in case there is already messages with wParam = 0, 1, 2 and so on
|
||||
WM_USER_PAUSE = 10,
|
||||
WM_USER_STOP,
|
||||
WM_USER_CREATE,
|
||||
WM_USER_SETCURSOR,
|
||||
WM_USER_KEYDOWN,
|
||||
WIIMOTE_DISCONNECT // Disconnect Wiimote
|
||||
};
|
||||
|
||||
// Used for notification on emulation state
|
||||
enum EMUSTATE_CHANGE
|
||||
{
|
||||
EMUSTATE_CHANGE_PLAY = 1,
|
||||
EMUSTATE_CHANGE_PAUSE,
|
||||
EMUSTATE_CHANGE_STOP
|
||||
};
|
||||
|
||||
#endif // _COMMON_H_
|
||||
|
@ -19,10 +19,10 @@
|
||||
|
||||
// TODO: ugly
|
||||
#ifdef _WIN32
|
||||
#include "../Plugins/Plugin_VideoDX9/Src/VideoBackend.h"
|
||||
#include "../Plugins/Plugin_VideoDX11/Src/VideoBackend.h"
|
||||
#include "../../../Plugins/Plugin_VideoDX9/Src/VideoBackend.h"
|
||||
#include "../../../Plugins/Plugin_VideoDX11/Src/VideoBackend.h"
|
||||
#endif
|
||||
#include "../Plugins/Plugin_VideoOGL/Src/VideoBackend.h"
|
||||
#include "../../../Plugins/Plugin_VideoOGL/Src/VideoBackend.h"
|
||||
//#include "../Plugins/Plugin_VideoSoftware/Src/VideoBackend.h"
|
||||
|
||||
std::vector<VideoBackend*> g_available_video_backends;
|
||||
|
@ -21,8 +21,6 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "PluginSpecs.h"
|
||||
|
||||
#include "ChunkFile.h"
|
||||
|
||||
enum FieldType
|
||||
@ -80,7 +78,7 @@ class VideoBackend
|
||||
public:
|
||||
virtual ~VideoBackend() {}
|
||||
|
||||
virtual void EmuStateChange(PLUGIN_EMUSTATE) = 0;
|
||||
virtual void EmuStateChange(EMUSTATE_CHANGE) = 0;
|
||||
|
||||
virtual void UpdateFPSDisplay(const char*) = 0;
|
||||
|
||||
@ -106,6 +104,7 @@ public:
|
||||
virtual u32 Video_AccessEFB(EFBAccessType, u32, u32, u32) = 0;
|
||||
|
||||
virtual void Video_AddMessage(const char* pstr, unsigned int milliseconds) = 0;
|
||||
virtual void Video_ClearMessages() = 0;
|
||||
virtual bool Video_Screenshot(const char* filename) = 0;
|
||||
|
||||
virtual void Video_SetRendering(bool bEnabled) = 0;
|
||||
@ -129,7 +128,7 @@ class VideoBackendHLE : public VideoBackend
|
||||
{
|
||||
void DoState(PointerWrap &p);
|
||||
|
||||
void EmuStateChange(PLUGIN_EMUSTATE);
|
||||
void EmuStateChange(EMUSTATE_CHANGE);
|
||||
|
||||
void Video_EnterLoop();
|
||||
void Video_ExitLoop();
|
||||
@ -138,6 +137,7 @@ class VideoBackendHLE : public VideoBackend
|
||||
u32 Video_AccessEFB(EFBAccessType, u32, u32, u32);
|
||||
|
||||
void Video_AddMessage(const char* pstr, unsigned int milliseconds);
|
||||
void Video_ClearMessages();
|
||||
bool Video_Screenshot(const char* filename);
|
||||
|
||||
void Video_SetRendering(bool bEnabled);
|
||||
|
Reference in New Issue
Block a user