summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-06-23 05:39:04 +0200
committerGitHub <noreply@github.com>2020-06-23 05:39:04 +0200
commit2ce3aedda8981bdcb22f8d54957bee2ca843e1b4 (patch)
tree7ae4c23b836c63cce4175dbdd303bb05f2a79dd3
parentaccount: Update function tables and add missing classes (#4145) (diff)
parentyuzu_tester: Silence type conversion warning (diff)
downloadyuzu-2ce3aedda8981bdcb22f8d54957bee2ca843e1b4.tar
yuzu-2ce3aedda8981bdcb22f8d54957bee2ca843e1b4.tar.gz
yuzu-2ce3aedda8981bdcb22f8d54957bee2ca843e1b4.tar.bz2
yuzu-2ce3aedda8981bdcb22f8d54957bee2ca843e1b4.tar.lz
yuzu-2ce3aedda8981bdcb22f8d54957bee2ca843e1b4.tar.xz
yuzu-2ce3aedda8981bdcb22f8d54957bee2ca843e1b4.tar.zst
yuzu-2ce3aedda8981bdcb22f8d54957bee2ca843e1b4.zip
-rw-r--r--src/core/hle/service/lm/manager.cpp3
-rw-r--r--src/yuzu_tester/service/yuzutest.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/lm/manager.cpp b/src/core/hle/service/lm/manager.cpp
index b67081b86..3ee2374e7 100644
--- a/src/core/hle/service/lm/manager.cpp
+++ b/src/core/hle/service/lm/manager.cpp
@@ -86,7 +86,8 @@ std::string FormatField(Field type, const std::vector<u8>& data) {
return Common::StringFromFixedZeroTerminatedBuffer(
reinterpret_cast<const char*>(data.data()), data.size());
default:
- UNIMPLEMENTED();
+ UNIMPLEMENTED_MSG("Unimplemented field type={}", type);
+ return "";
}
}
diff --git a/src/yuzu_tester/service/yuzutest.cpp b/src/yuzu_tester/service/yuzutest.cpp
index 85d3f436b..2d3f6e3a7 100644
--- a/src/yuzu_tester/service/yuzutest.cpp
+++ b/src/yuzu_tester/service/yuzutest.cpp
@@ -53,7 +53,7 @@ private:
IPC::ResponseBuilder rb{ctx, 3};
rb.Push(RESULT_SUCCESS);
- rb.Push<u32>(write_size);
+ rb.Push<u32>(static_cast<u32>(write_size));
}
void StartIndividual(Kernel::HLERequestContext& ctx) {