summaryrefslogtreecommitdiff
path: root/src/yuzu_tester/service/yuzutest.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-05-26 13:59:48 -0400
committerZach Hilman <zachhilman@gmail.com>2019-06-10 00:03:11 -0400
commit511bf3435d698662f4f95fbd4722c9a6052680f8 (patch)
treea4728c8a5f2c81363960080e731dc7e436f00beb /src/yuzu_tester/service/yuzutest.cpp
parentf279e792b7c23a9fabce7c56c53c01fcf4e87547 (diff)
yuzu_tester: Display results in table format
Diffstat (limited to 'src/yuzu_tester/service/yuzutest.cpp')
-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);