summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2018-01-13 23:14:04 +0100
committerMerryMage <MerryMage@users.noreply.github.com>2018-01-13 23:38:52 +0100
commite86bdb16019be278974fcab75255ae37cc600747 (patch)
treee1e8628e276bd3c5044278e495da67236b0d765d /src
parentUpdate build scripts (diff)
downloadyuzu-e86bdb16019be278974fcab75255ae37cc600747.tar
yuzu-e86bdb16019be278974fcab75255ae37cc600747.tar.gz
yuzu-e86bdb16019be278974fcab75255ae37cc600747.tar.bz2
yuzu-e86bdb16019be278974fcab75255ae37cc600747.tar.lz
yuzu-e86bdb16019be278974fcab75255ae37cc600747.tar.xz
yuzu-e86bdb16019be278974fcab75255ae37cc600747.tar.zst
yuzu-e86bdb16019be278974fcab75255ae37cc600747.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/lock.cpp2
-rw-r--r--src/tests/core/memory/memory.cpp2
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.cpp1
-rw-r--r--src/yuzu/CMakeLists.txt8
4 files changed, 7 insertions, 6 deletions
diff --git a/src/core/hle/lock.cpp b/src/core/hle/lock.cpp
index 1c24c7ce9..be4bfce3b 100644
--- a/src/core/hle/lock.cpp
+++ b/src/core/hle/lock.cpp
@@ -2,8 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
-#pragma once
-
#include <core/hle/lock.h>
namespace HLE {
diff --git a/src/tests/core/memory/memory.cpp b/src/tests/core/memory/memory.cpp
index 671afb702..165496a54 100644
--- a/src/tests/core/memory/memory.cpp
+++ b/src/tests/core/memory/memory.cpp
@@ -7,7 +7,7 @@
#include "core/hle/kernel/process.h"
#include "core/memory.h"
-TEST_CASE("Memory::IsValidVirtualAddress", "[core][memory]") {
+TEST_CASE("Memory::IsValidVirtualAddress", "[core][memory][!hide]") {
SECTION("these regions should not be mapped on an empty process") {
auto process = Kernel::Process::Create("");
CHECK(Memory::IsValidVirtualAddress(*process, Memory::PROCESS_IMAGE_VADDR) == false);
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp
index 410b0e959..a5df91604 100644
--- a/src/video_core/renderer_opengl/renderer_opengl.cpp
+++ b/src/video_core/renderer_opengl/renderer_opengl.cpp
@@ -4,6 +4,7 @@
#include <algorithm>
#include <cstddef>
+#include <cstring>
#include <cstdlib>
#include <memory>
#include <glad/glad.h>
diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt
index 95d521706..1ec6abbb4 100644
--- a/src/yuzu/CMakeLists.txt
+++ b/src/yuzu/CMakeLists.txt
@@ -70,7 +70,9 @@ else()
endif()
if (APPLE)
- set(MACOSX_ICON "../../dist/citra.icns")
+ if (EXISTS "../../dist/yuzu.icns")
+ set(MACOSX_ICON "../../dist/yuzu.icns")
+ endif()
set_source_files_properties(${MACOSX_ICON} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
add_executable(yuzu MACOSX_BUNDLE ${SRCS} ${HEADERS} ${UI_HDRS} ${MACOSX_ICON})
set_target_properties(yuzu PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist)
@@ -89,7 +91,7 @@ if (MSVC)
include(CopyCitraQt5Deps)
include(CopyCitraSDLDeps)
include(CopyYuzuUnicornDeps)
- copy_citra_Qt5_deps(yuzu)
- copy_citra_SDL_deps(yuzu)
+ copy_yuzu_Qt5_deps(yuzu)
+ copy_yuzu_SDL_deps(yuzu)
copy_yuzu_unicorn_deps(yuzu)
endif()