aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/fatal/fatal.cpp
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2022-12-25 13:42:32 -0500
committerameerj <52414509+ameerj@users.noreply.github.com>2022-12-25 17:04:02 -0500
commit7ffd62424804eceb73f01b1c4e8dc216134c8295 (patch)
tree2bfe2a9b5d0a3f0857c73475cbdf24f6fe66c740 /src/core/hle/service/fatal/fatal.cpp
parentfbc375f0de26342a22c52bb78e14b4f78d2243c1 (diff)
service: Use ReadBufferSpan where it is trivial to do so
Diffstat (limited to 'src/core/hle/service/fatal/fatal.cpp')
-rw-r--r--src/core/hle/service/fatal/fatal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/fatal/fatal.cpp b/src/core/hle/service/fatal/fatal.cpp
index 27675615b..ff896ea10 100644
--- a/src/core/hle/service/fatal/fatal.cpp
+++ b/src/core/hle/service/fatal/fatal.cpp
@@ -152,7 +152,7 @@ void Module::Interface::ThrowFatalWithCpuContext(Kernel::HLERequestContext& ctx)
IPC::RequestParser rp(ctx);
const auto error_code = rp.Pop<Result>();
const auto fatal_type = rp.PopEnum<FatalType>();
- const auto fatal_info = ctx.ReadBuffer();
+ const auto fatal_info = ctx.ReadBufferSpan();
FatalInfo info{};
ASSERT_MSG(fatal_info.size() == sizeof(FatalInfo), "Invalid fatal info buffer size!");