Commit to allow Interpreter to work on devices that don't support SSE2, just via simple defines

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3797 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1 2009-07-15 11:36:01 +00:00
parent 56d55f2d22
commit e28145fccf
2 changed files with 6 additions and 2 deletions

View File

@ -33,7 +33,7 @@ bool OpenALStream::Start()
pDeviceList = new ALDeviceList();
if ((pDeviceList) && (pDeviceList->GetNumDevices()))
{
pDevice = alcOpenDevice((const ALCchar *)pDeviceList->GetDeviceName(pDeviceList->GetDefaultDevice()));
pDevice = alcOpenDevice((ALCubyte*)pDeviceList->GetDeviceName(pDeviceList->GetDefaultDevice()));
if (pDevice)
{
pContext = alcCreateContext(pDevice, NULL);

View File

@ -35,7 +35,11 @@
#include "../../Core.h"
#include "Interpreter.h"
#include "MathUtil.h"
#ifndef _mm_cvttsd_si32 // No SSE2 support
#define _mm_set_sd
#define _mm_cvttsd_si32 truncl
#define _mm_cvtsd_si32 lrint
#endif
// F-ZERO IS BEING A ROYAL PAIN
// POSSIBLE APPROACHES:
// * Full SW FPU. Urgh.