summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-01-12 04:24:09 +0100
committerbunnei <bunneidev@gmail.com>2018-01-12 04:24:09 +0100
commit039fc7f985c295791b6f0d263b3ef35e75b9116a (patch)
tree00477f3aa1258b04db4c060d73e12b0d4b0ec68d /src
parentsvc: Implement GetSystemTick. (diff)
downloadyuzu-039fc7f985c295791b6f0d263b3ef35e75b9116a.tar
yuzu-039fc7f985c295791b6f0d263b3ef35e75b9116a.tar.gz
yuzu-039fc7f985c295791b6f0d263b3ef35e75b9116a.tar.bz2
yuzu-039fc7f985c295791b6f0d263b3ef35e75b9116a.tar.lz
yuzu-039fc7f985c295791b6f0d263b3ef35e75b9116a.tar.xz
yuzu-039fc7f985c295791b6f0d263b3ef35e75b9116a.tar.zst
yuzu-039fc7f985c295791b6f0d263b3ef35e75b9116a.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/frontend/framebuffer_layout.cpp2
-rw-r--r--src/core/hle/kernel/hle_ipc.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/core/frontend/framebuffer_layout.cpp b/src/core/frontend/framebuffer_layout.cpp
index 8551858d1..18ec4d2ed 100644
--- a/src/core/frontend/framebuffer_layout.cpp
+++ b/src/core/frontend/framebuffer_layout.cpp
@@ -2,6 +2,8 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#include <cmath>
+
#include "common/assert.h"
#include "core/frontend/framebuffer_layout.h"
diff --git a/src/core/hle/kernel/hle_ipc.h b/src/core/hle/kernel/hle_ipc.h
index 8c26285e5..42941d151 100644
--- a/src/core/hle/kernel/hle_ipc.h
+++ b/src/core/hle/kernel/hle_ipc.h
@@ -154,13 +154,13 @@ public:
template<typename T>
SharedPtr<T> GetCopyObject(size_t index) {
ASSERT(index < copy_objects.size());
- return DynamicObjectCast(copy_objects[index]);
+ return DynamicObjectCast<T>(copy_objects[index]);
}
template<typename T>
SharedPtr<T> GetMoveObject(size_t index) {
ASSERT(index < move_objects.size());
- return DynamicObjectCast(move_objects[index]);
+ return DynamicObjectCast<T>(move_objects[index]);
}
void AddMoveObject(SharedPtr<Object> object) {