diff options
author | Subv <subv2112@gmail.com> | 2017-08-19 19:04:40 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2017-08-21 15:34:28 +0200 |
commit | 65f19b51c43fbc35a1f1bfb81d773eaf6b5fffd3 (patch) | |
tree | 2c70231243f2fb8dc71cd4d5b2746acd6646ed10 /src | |
parent | HLE/Applets: Fixed some conversion warnings when creating the framebuffer shared memory objects. (diff) | |
download | yuzu-65f19b51c43fbc35a1f1bfb81d773eaf6b5fffd3.tar yuzu-65f19b51c43fbc35a1f1bfb81d773eaf6b5fffd3.tar.gz yuzu-65f19b51c43fbc35a1f1bfb81d773eaf6b5fffd3.tar.bz2 yuzu-65f19b51c43fbc35a1f1bfb81d773eaf6b5fffd3.tar.lz yuzu-65f19b51c43fbc35a1f1bfb81d773eaf6b5fffd3.tar.xz yuzu-65f19b51c43fbc35a1f1bfb81d773eaf6b5fffd3.tar.zst yuzu-65f19b51c43fbc35a1f1bfb81d773eaf6b5fffd3.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/file_sys/archive_backend.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/kernel/kernel.h | 3 | ||||
-rw-r--r-- | src/core/hw/gpu.h | 4 |
3 files changed, 7 insertions, 2 deletions
diff --git a/src/core/file_sys/archive_backend.cpp b/src/core/file_sys/archive_backend.cpp index 1fae0ede0..87a240d7a 100644 --- a/src/core/file_sys/archive_backend.cpp +++ b/src/core/file_sys/archive_backend.cpp @@ -90,6 +90,8 @@ std::u16string Path::AsU16Str() const { LOG_ERROR(Service_FS, "LowPathType cannot be converted to u16string!"); return {}; } + + UNREACHABLE(); } std::vector<u8> Path::AsBinary() const { diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index 9cf288b08..142bb84b2 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h @@ -8,6 +8,7 @@ #include <string> #include <utility> #include <boost/smart_ptr/intrusive_ptr.hpp> +#include "common/assert.h" #include "common/common_types.h" namespace Kernel { @@ -84,6 +85,8 @@ public: case HandleType::ClientSession: return false; } + + UNREACHABLE(); } public: diff --git a/src/core/hw/gpu.h b/src/core/hw/gpu.h index 21b127fee..e3d0a0e08 100644 --- a/src/core/hw/gpu.h +++ b/src/core/hw/gpu.h @@ -74,9 +74,9 @@ struct Regs { case PixelFormat::RGB5A1: case PixelFormat::RGBA4: return 2; - default: - UNIMPLEMENTED(); } + + UNREACHABLE(); } INSERT_PADDING_WORDS(0x4); |