mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
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:
parent
56d55f2d22
commit
e28145fccf
@ -33,7 +33,7 @@ bool OpenALStream::Start()
|
|||||||
pDeviceList = new ALDeviceList();
|
pDeviceList = new ALDeviceList();
|
||||||
if ((pDeviceList) && (pDeviceList->GetNumDevices()))
|
if ((pDeviceList) && (pDeviceList->GetNumDevices()))
|
||||||
{
|
{
|
||||||
pDevice = alcOpenDevice((const ALCchar *)pDeviceList->GetDeviceName(pDeviceList->GetDefaultDevice()));
|
pDevice = alcOpenDevice((ALCubyte*)pDeviceList->GetDeviceName(pDeviceList->GetDefaultDevice()));
|
||||||
if (pDevice)
|
if (pDevice)
|
||||||
{
|
{
|
||||||
pContext = alcCreateContext(pDevice, NULL);
|
pContext = alcCreateContext(pDevice, NULL);
|
||||||
|
@ -35,7 +35,11 @@
|
|||||||
#include "../../Core.h"
|
#include "../../Core.h"
|
||||||
#include "Interpreter.h"
|
#include "Interpreter.h"
|
||||||
#include "MathUtil.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
|
// F-ZERO IS BEING A ROYAL PAIN
|
||||||
// POSSIBLE APPROACHES:
|
// POSSIBLE APPROACHES:
|
||||||
// * Full SW FPU. Urgh.
|
// * Full SW FPU. Urgh.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user