summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/fatal/fatal.cpp
diff options
context:
space:
mode:
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 ff896ea10..27675615b 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.ReadBufferSpan();
+ const auto fatal_info = ctx.ReadBuffer();
FatalInfo info{};
ASSERT_MSG(fatal_info.size() == sizeof(FatalInfo), "Invalid fatal info buffer size!");