mirror of
https://github.com/JesseTG/melonds-ds.git
synced 2024-12-01 02:31:06 +00:00
Fix iOS and macOS builds
This commit is contained in:
parent
359d3267c5
commit
66c24c97a6
@ -53,6 +53,10 @@ if (UNIX)
|
||||
target_compile_definitions(slirp PRIVATE UNIX)
|
||||
endif()
|
||||
|
||||
if (APPLE)
|
||||
target_link_libraries(slirp PRIVATE resolv)
|
||||
endif()
|
||||
|
||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
target_compile_options(slirp PRIVATE -fPIC)
|
||||
target_link_options(slirp PRIVATE -fPIC)
|
||||
|
@ -418,10 +418,8 @@ namespace melonds::config {
|
||||
melonds::Renderer ConfiguredRenderer() noexcept { return melonds::Renderer::Software; }
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGLES)
|
||||
static melonds::ScreenFilter _screenFilter;
|
||||
melonds::ScreenFilter ScreenFilter() noexcept { return _screenFilter; }
|
||||
#endif
|
||||
|
||||
int ScaleFactor() noexcept { return RenderSettings().GL_ScaleFactor; }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user