From f7dbff2157ebf661f2bbf2eafc96caf4edc5937b Mon Sep 17 00:00:00 2001 From: lizzie Date: Fri, 28 Aug 2026 03:44:45 +0200 Subject: [PATCH] [core/hle/services/am] Fix MK8D crash (#4313) Signed-off-by: lizzie - [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions). - [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md) - [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability. ------------------- This fixes a random mk8d crash when connecting via LDN Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4313 Reviewed-by: CamilleLaVey Reviewed-by: MaranBr --- src/core/hle/service/am/service/application_functions.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/hle/service/am/service/application_functions.cpp b/src/core/hle/service/am/service/application_functions.cpp index 25a666233f..03d88aeeb3 100644 --- a/src/core/hle/service/am/service/application_functions.cpp +++ b/src/core/hle/service/am/service/application_functions.cpp @@ -324,6 +324,7 @@ Result IApplicationFunctions::NotifyRunning(Out out_became_running) { Result IApplicationFunctions::GetPseudoDeviceId(Out out_pseudo_device_id) { LOG_WARNING(Service_AM, "(stubbed)"); + R_UNLESS(out_pseudo_device_id, ResultUnknown); // This should be hashed with the device specific hash // for now this will do