Fix Plugin_VideoSoftware build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7113 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
855f97841d
commit
8c41d31651
|
@ -38,7 +38,7 @@ files = [
|
|||
"Thunk.cpp",
|
||||
"Timer.cpp",
|
||||
"Version.cpp",
|
||||
"VideoBackendBase.cpp",
|
||||
#"VideoBackendBase.cpp",
|
||||
"x64Emitter.cpp",
|
||||
"x64Analyzer.cpp",
|
||||
"Crypto/aes_cbc.cpp",
|
||||
|
@ -56,3 +56,4 @@ if sys.platform == 'win32':
|
|||
env['common'] = env.StaticObject(files)
|
||||
env['CPPPATH'] += ['.']
|
||||
env['LIBS'] += env['common']
|
||||
env['LIBS'] += env.StaticObject('VideoBackendBase.cpp')
|
||||
|
|
|
@ -23,9 +23,7 @@
|
|||
#include "../../../Plugins/Plugin_VideoDX11/Src/VideoBackend.h"
|
||||
#endif
|
||||
#include "../../../Plugins/Plugin_VideoOGL/Src/VideoBackend.h"
|
||||
#ifndef _WIN32 // XXX
|
||||
#include "../../../Plugins/Plugin_VideoSoftware/Src/VideoBackend.h"
|
||||
#endif
|
||||
|
||||
std::vector<VideoBackend*> g_available_video_backends;
|
||||
VideoBackend* g_video_backend = NULL;
|
||||
|
@ -38,9 +36,7 @@ void VideoBackend::PopulateList()
|
|||
g_available_video_backends.push_back(new DX11::VideoBackend);
|
||||
#endif
|
||||
g_available_video_backends.push_back(new OGL::VideoBackend);
|
||||
#ifndef _WIN32 // XXX
|
||||
g_available_video_backends.push_back(new SW::VideoBackend);
|
||||
#endif
|
||||
|
||||
g_video_backend = g_available_video_backends.front();
|
||||
}
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#import <CoreServices/CoreServices.h>
|
||||
extern "C" OSErr UpdateSystemActivity(UInt8 activity);
|
||||
#define BLUETOOTH_VERSION_USE_CURRENT
|
||||
#import <IOBluetooth/IOBluetooth.h>
|
||||
|
||||
|
@ -72,7 +70,7 @@ extern "C" OSErr UpdateSystemActivity(UInt8 activity);
|
|||
|
||||
(void)wm->Read();
|
||||
|
||||
(void)UpdateSystemActivity(1);
|
||||
(void)UpdateSystemActivity(UsrActivity);
|
||||
}
|
||||
|
||||
- (void) l2capChannelClosed: (IOBluetoothL2CAPChannel *) l2capChannel
|
||||
|
|
|
@ -50,13 +50,16 @@ elif sys.platform == 'darwin':
|
|||
env['FRAMEWORKPATH'] += ['Externals/Cg']
|
||||
frameworksflags += ['-Wl,-weak_framework,Cg']
|
||||
frameworksflags += ['-Wl,-weak_framework,OpenCL']
|
||||
frameworksflags += ['-Wl,-weak_framework,QuickTime']
|
||||
frameworksflags += ['-Wl,-no_arch_warnings']
|
||||
|
||||
exe = '#' + env['prefix'] + '/Dolphin.app/Contents/MacOS/Dolphin'
|
||||
|
||||
if env['HAVE_WX']:
|
||||
env['LIBS'] += env['wxconfiglibs']
|
||||
frameworksflags += ['-Wl,-weak_framework,AudioToolbox']
|
||||
frameworksflags += ['-Wl,-weak_framework,Carbon']
|
||||
frameworksflags += ['-Wl,-weak_framework,QuickTime']
|
||||
frameworksflags += ['-Wl,-weak_framework,WebKit']
|
||||
frameworksflags += ['-Wl,-no_arch_warnings']
|
||||
else:
|
||||
env['LIBS'] += ['iconv']
|
||||
exe += 'NoGUI'
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
#define DL_CODE_CACHE_SIZE (1024*1024*16)
|
||||
#define DL_CODE_CLEAR_THRESHOLD (128 * 1024)
|
||||
extern int frameCount;
|
||||
static int CheckContextId;
|
||||
static u32 CheckContextId;
|
||||
using namespace Gen;
|
||||
|
||||
namespace DLCache
|
||||
|
@ -66,11 +66,11 @@ struct ReferencedDataRegion
|
|||
ReferencedDataRegion()
|
||||
:hash(0),
|
||||
start_address(NULL),
|
||||
NextRegion(NULL),
|
||||
size(0),
|
||||
MustClean(false),
|
||||
MustClean(0),
|
||||
ReferencedArray(-1),
|
||||
ReferencedArrayStride(0),
|
||||
NextRegion(NULL)
|
||||
ReferencedArrayStride(0)
|
||||
{}
|
||||
u64 hash;
|
||||
u8* start_address;
|
||||
|
@ -94,16 +94,16 @@ struct ReferencedDataRegion
|
|||
struct CachedDisplayList
|
||||
{
|
||||
CachedDisplayList()
|
||||
: uncachable(false),
|
||||
: Regions(NULL),
|
||||
LastRegion(NULL),
|
||||
uncachable(false),
|
||||
num_xf_reg(0),
|
||||
num_cp_reg(0),
|
||||
num_bp_reg(0),
|
||||
num_index_xf(0),
|
||||
num_draw_call(0),
|
||||
pass(DLPASS_ANALYZE),
|
||||
BufferCount(0),
|
||||
Regions(NULL),
|
||||
LastRegion(NULL)
|
||||
BufferCount(0)
|
||||
{
|
||||
frame_count = frameCount;
|
||||
}
|
||||
|
@ -188,8 +188,7 @@ struct CachedDisplayList
|
|||
{
|
||||
if(Current->hash)
|
||||
{
|
||||
// this chek is not strictly necesary now but i left it for an aditional safety check
|
||||
if(Current->ReferencedArray != -1 && (cached_arraybases[Current->ReferencedArray] != Current->start_address || arraystrides[Current->ReferencedArray] != Current->ReferencedArrayStride))
|
||||
if(cached_arraybases[Current->ReferencedArray] != Current->start_address || arraystrides[Current->ReferencedArray] != Current->ReferencedArrayStride)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -79,12 +79,14 @@ void VideoBackend::Initialize()
|
|||
|
||||
void VideoBackend::DoState(PointerWrap&)
|
||||
{
|
||||
}
|
||||
|
||||
void VideoBackend::RunLoop(bool enable)
|
||||
{
|
||||
}
|
||||
|
||||
void VideoBackend::EmuStateChange(EMUSTATE_CHANGE newState)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void VideoBackend::Shutdown()
|
||||
|
|
|
@ -17,6 +17,7 @@ class VideoBackend : public VideoBackendLLE
|
|||
void EmuStateChange(EMUSTATE_CHANGE newState);
|
||||
|
||||
void DoState(PointerWrap &p);
|
||||
void RunLoop(bool enable);
|
||||
|
||||
void ShowConfig(void* parent);
|
||||
|
||||
|
|
Loading…
Reference in New Issue