diff options
| author | bunnei <bunneidev@gmail.com> | 2018-01-11 22:24:09 -0500 | 
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2018-01-11 22:24:09 -0500 | 
| commit | 039fc7f985c295791b6f0d263b3ef35e75b9116a (patch) | |
| tree | 00477f3aa1258b04db4c060d73e12b0d4b0ec68d | |
| parent | 97ef21e166a95419b97d164c6969ffaf1faacfb0 (diff) | |
core: Fix recent GCC build breaks.
| -rw-r--r-- | src/core/frontend/framebuffer_layout.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/kernel/hle_ipc.h | 4 | 
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) {  | 
