diff options
| author | Sonicadvance1 <sonicadvance1@gmail.com> | 2009-07-15 11:36:01 +0000 |
|---|---|---|
| committer | Sonicadvance1 <sonicadvance1@gmail.com> | 2009-07-15 11:36:01 +0000 |
| commit | e28145fccf96be5a69831b38b6029fa10a0034c0 (patch) | |
| tree | cf689dd1f7c906aaa1682646cb3d2d00196d82b0 /Source/Core | |
| parent | 56d55f2d225a8bfbce7c30848b0ec3c09e843178 (diff) | |
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
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/AudioCommon/Src/OpenALStream.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Source/Core/AudioCommon/Src/OpenALStream.cpp b/Source/Core/AudioCommon/Src/OpenALStream.cpp index 749e6ae793..5b91372412 100644 --- a/Source/Core/AudioCommon/Src/OpenALStream.cpp +++ b/Source/Core/AudioCommon/Src/OpenALStream.cpp @@ -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); diff --git a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp index 7cb849b75f..290212ceff 100644 --- a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp +++ b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp @@ -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. |
