summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-01-09 03:21:07 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2021-01-09 03:21:07 +0100
commitb4451c5e8142ca0b46a97ba77c98edb305f97929 (patch)
tree7d7f8a4c5ef5c749cb05b9236db11c23594a6f21
parenttests/ring_buffer: Silence signed/unsigned mismatch warnings (diff)
downloadyuzu-b4451c5e8142ca0b46a97ba77c98edb305f97929.tar
yuzu-b4451c5e8142ca0b46a97ba77c98edb305f97929.tar.gz
yuzu-b4451c5e8142ca0b46a97ba77c98edb305f97929.tar.bz2
yuzu-b4451c5e8142ca0b46a97ba77c98edb305f97929.tar.lz
yuzu-b4451c5e8142ca0b46a97ba77c98edb305f97929.tar.xz
yuzu-b4451c5e8142ca0b46a97ba77c98edb305f97929.tar.zst
yuzu-b4451c5e8142ca0b46a97ba77c98edb305f97929.zip
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic_32.cpp9
-rw-r--r--src/core/hle/service/nvflinger/buffer_queue.cpp6
2 files changed, 5 insertions, 10 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic_32.cpp b/src/core/arm/dynarmic/arm_dynarmic_32.cpp
index 0831dd5d2..6c4c8e9e4 100644
--- a/src/core/arm/dynarmic/arm_dynarmic_32.cpp
+++ b/src/core/arm/dynarmic/arm_dynarmic_32.cpp
@@ -71,15 +71,8 @@ public:
}
void ExceptionRaised(u32 pc, Dynarmic::A32::Exception exception) override {
- switch (exception) {
- case Dynarmic::A32::Exception::UndefinedInstruction:
- case Dynarmic::A32::Exception::UnpredictableInstruction:
- break;
- case Dynarmic::A32::Exception::Breakpoint:
- break;
- }
LOG_CRITICAL(Core_ARM, "ExceptionRaised(exception = {}, pc = {:08X}, code = {:08X})",
- static_cast<std::size_t>(exception), pc, MemoryReadCode(pc));
+ exception, pc, MemoryReadCode(pc));
UNIMPLEMENTED();
}
diff --git a/src/core/hle/service/nvflinger/buffer_queue.cpp b/src/core/hle/service/nvflinger/buffer_queue.cpp
index c68905e19..5578181a4 100644
--- a/src/core/hle/service/nvflinger/buffer_queue.cpp
+++ b/src/core/hle/service/nvflinger/buffer_queue.cpp
@@ -180,9 +180,11 @@ u32 BufferQueue::Query(QueryType type) {
switch (type) {
case QueryType::NativeWindowFormat:
return static_cast<u32>(PixelFormat::RGBA8888);
+ case QueryType::NativeWindowWidth:
+ case QueryType::NativeWindowHeight:
+ break;
}
-
- UNIMPLEMENTED();
+ UNIMPLEMENTED_MSG("Unimplemented query type={}", type);
return 0;
}