mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-11 02:29:29 +00:00
commit
fc962de3dd
4 changed files with 20 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -64,3 +64,5 @@ rpcs3/git-version.h
|
||||||
bin/dev_hdd0/log.txt
|
bin/dev_hdd0/log.txt
|
||||||
x64/Debug/emucore.lib
|
x64/Debug/emucore.lib
|
||||||
x64/Release/emucore.lib
|
x64/Release/emucore.lib
|
||||||
|
|
||||||
|
.DS_Store
|
||||||
|
|
|
@ -30,6 +30,11 @@ if (NOT MSVC)
|
||||||
add_definitions(-msse2)
|
add_definitions(-msse2)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (APPLE)
|
||||||
|
set(CMAKE_CXX_FLAGS “${CMAKE_CXX_FLAGS} -I/opt/include/X11”)
|
||||||
|
set(CMAKE_C_FLAGS “${CMAKE_C_FLAGS} -I/opt/X11/include”)
|
||||||
|
endif()
|
||||||
|
|
||||||
If( NOT RPCS3_SRC_DIR)
|
If( NOT RPCS3_SRC_DIR)
|
||||||
SET(RPCS3_SRC_DIR ${CMAKE_CURRENT_LIST_DIR})
|
SET(RPCS3_SRC_DIR ${CMAKE_CURRENT_LIST_DIR})
|
||||||
Message("-- Initializing RPCS3_SRC_DIR=${RPCS3_SRC_DIR}")
|
Message("-- Initializing RPCS3_SRC_DIR=${RPCS3_SRC_DIR}")
|
||||||
|
|
|
@ -4,11 +4,13 @@
|
||||||
#include "Emu/System.h"
|
#include "Emu/System.h"
|
||||||
#include "Emu/Cell/PPUThread.h"
|
#include "Emu/Cell/PPUThread.h"
|
||||||
#include "Emu/SysCalls/Modules.h"
|
#include "Emu/SysCalls/Modules.h"
|
||||||
|
|
||||||
#include "Emu/Cell/PPUDecoder.h"
|
#include "Emu/Cell/PPUDecoder.h"
|
||||||
#include "Emu/Cell/PPUInterpreter.h"
|
#include "Emu/Cell/PPUInterpreter.h"
|
||||||
#include "Emu/Cell/PPUDisAsm.h"
|
#include "Emu/Cell/PPUDisAsm.h"
|
||||||
|
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
extern gcmInfo gcm_info;
|
extern gcmInfo gcm_info;
|
||||||
|
|
||||||
PPUThread& GetCurrentPPUThread()
|
PPUThread& GetCurrentPPUThread()
|
||||||
|
@ -190,7 +192,7 @@ bool FPRdouble::IsINF(PPCdouble d)
|
||||||
|
|
||||||
bool FPRdouble::IsNaN(PPCdouble d)
|
bool FPRdouble::IsNaN(PPCdouble d)
|
||||||
{
|
{
|
||||||
return isnan(d) ? 1 : 0;
|
return std::isnan((double)d) ? 1 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool FPRdouble::IsQNaN(PPCdouble d)
|
bool FPRdouble::IsQNaN(PPCdouble d)
|
||||||
|
|
|
@ -8,6 +8,15 @@
|
||||||
#include "Emu/SysCalls/Callback.h"
|
#include "Emu/SysCalls/Callback.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
/* OS X uses MAP_ANON instead of MAP_ANONYMOUS */
|
||||||
|
#ifndef MAP_ANONYMOUS
|
||||||
|
#ifdef MAP_ANON
|
||||||
|
#define MAP_ANONYMOUS MAP_ANON
|
||||||
|
#else
|
||||||
|
#define MAP_ANONYMOUS 0
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
using std::nullptr_t;
|
using std::nullptr_t;
|
||||||
|
|
||||||
#define safe_delete(x) do {delete (x);(x)=nullptr;} while(0)
|
#define safe_delete(x) do {delete (x);(x)=nullptr;} while(0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue