summaryrefslogtreecommitdiffstats
path: root/src/yuzu_tester/service/yuzutest.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-05-26 19:59:48 +0200
committerZach Hilman <zachhilman@gmail.com>2019-06-10 06:03:11 +0200
commit511bf3435d698662f4f95fbd4722c9a6052680f8 (patch)
treea4728c8a5f2c81363960080e731dc7e436f00beb /src/yuzu_tester/service/yuzutest.cpp
parentyuzutest: Support multiple tests per executable (diff)
downloadyuzu-511bf3435d698662f4f95fbd4722c9a6052680f8.tar
yuzu-511bf3435d698662f4f95fbd4722c9a6052680f8.tar.gz
yuzu-511bf3435d698662f4f95fbd4722c9a6052680f8.tar.bz2
yuzu-511bf3435d698662f4f95fbd4722c9a6052680f8.tar.lz
yuzu-511bf3435d698662f4f95fbd4722c9a6052680f8.tar.xz
yuzu-511bf3435d698662f4f95fbd4722c9a6052680f8.tar.zst
yuzu-511bf3435d698662f4f95fbd4722c9a6052680f8.zip
Diffstat (limited to '')
-rw-r--r--src/yuzu_tester/service/yuzutest.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/yuzu_tester/service/yuzutest.cpp b/src/yuzu_tester/service/yuzutest.cpp
index c25ab4aba..a5e5bddb2 100644
--- a/src/yuzu_tester/service/yuzutest.cpp
+++ b/src/yuzu_tester/service/yuzutest.cpp
@@ -57,7 +57,12 @@ private:
}
void StartIndividual(Kernel::HLERequestContext& ctx) {
- LOG_DEBUG(Frontend, "called");
+ const auto name_raw = ctx.ReadBuffer();
+
+ const auto name = Common::StringFromFixedZeroTerminatedBuffer(
+ reinterpret_cast<const char*>(name_raw.data()), name_raw.size());
+
+ LOG_DEBUG(Frontend, "called, name={}", name);
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);