mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-01-19 04:13:24 +00:00
MacOSX buildfixes
This commit is contained in:
parent
f6fdaa4f56
commit
8beca03e7e
@ -1416,6 +1416,10 @@ list(APPEND NativeAppSource
|
||||
UI/CustomButtonMappingScreen.cpp
|
||||
UI/Theme.h
|
||||
UI/Theme.cpp
|
||||
UI/RetroAchievements.cpp
|
||||
UI/RetroAchievements.h
|
||||
UI/RetroAchievementScreens.cpp
|
||||
UI/RetroAchievementScreens.h
|
||||
)
|
||||
|
||||
if(ANDROID)
|
||||
@ -2212,7 +2216,7 @@ else()
|
||||
include_directories(ext/zstd/lib)
|
||||
endif()
|
||||
|
||||
target_link_libraries(${CoreLibName} Common native kirk cityhash sfmt19937 xbrz xxhash ${GlslangLibs}
|
||||
target_link_libraries(${CoreLibName} Common native kirk cityhash sfmt19937 xbrz xxhash rcheevos ${GlslangLibs}
|
||||
${CoreExtraLibs} ${OPENGL_LIBRARIES} ${X11_LIBRARIES} ${CMAKE_DL_LIBS})
|
||||
|
||||
target_compile_features(${CoreLibName} PUBLIC cxx_std_17)
|
||||
|
@ -92,7 +92,7 @@ public:
|
||||
std::wstring ToWString() const;
|
||||
std::string ToCString() const; // Flips the slashes back to Windows standard, but string still UTF-8.
|
||||
#else
|
||||
std::string ToCSTring() const {
|
||||
std::string ToCString() const {
|
||||
return ToString();
|
||||
}
|
||||
#endif
|
||||
|
@ -108,7 +108,7 @@ void OSDOpenBackgroundProgressDialog(const char *str_id, std::string message, s3
|
||||
NOTICE_LOG(ACHIEVEMENTS, "Progress dialog opened: %s %s", str_id, message.c_str());
|
||||
}
|
||||
void OSDUpdateBackgroundProgressDialog(const char *str_id, std::string message, s32 min, s32 max, s32 value) {
|
||||
NOTICE_LOG(ACHIEVEMENTS, "Progress dialog updated: %s %s %f/(%f->%f)", str_id, message.c_str(), value, min, max);
|
||||
NOTICE_LOG(ACHIEVEMENTS, "Progress dialog updated: %s %s %d/(%d->%d)", str_id, message.c_str(), value, min, max);
|
||||
}
|
||||
void OSDCloseBackgroundProgressDialog(const char *str_id) {
|
||||
NOTICE_LOG(ACHIEVEMENTS, "Progress dialog closed: %s", str_id);
|
||||
|
@ -17,9 +17,6 @@
|
||||
#include <vector>
|
||||
#include <mutex>
|
||||
|
||||
|
||||
#define ALWAYS_INLINE __forceinline
|
||||
|
||||
class Path;
|
||||
class PointerWrap;
|
||||
|
||||
@ -74,7 +71,7 @@ bool IsUsingRAIntegration();
|
||||
|
||||
#else
|
||||
|
||||
static ALWAYS_INLINE bool IsUsingRAIntegration()
|
||||
static inline bool IsUsingRAIntegration()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -30,6 +30,7 @@ add_subdirectory(glslang EXCLUDE_FROM_ALL)
|
||||
add_subdirectory(snappy)
|
||||
add_subdirectory(udis86)
|
||||
add_subdirectory(SPIRV-Cross-build)
|
||||
add_subdirectory(rcheevos-build)
|
||||
if(USE_DISCORD AND NOT IOS AND NOT LIBRETRO)
|
||||
add_subdirectory(discord-rpc-build)
|
||||
endif()
|
||||
|
@ -44,4 +44,5 @@ set(ALL_SOURCE_FILES
|
||||
|
||||
add_library(rcheevos STATIC ${ALL_SOURCE_FILES})
|
||||
|
||||
target_compile_definitions(rcheevos PUBLIC RC_DISABLE_LUA)
|
||||
target_include_directories(rcheevos PUBLIC ../rcheevos/include ../rcheevos/src/rapi)
|
||||
|
Loading…
x
Reference in New Issue
Block a user