From 3eea76784dafa15b4371a17071d864af66cb3d04 Mon Sep 17 00:00:00 2001 From: 3gf8jv4dv <3gf8jv4dv@gmail.com> Date: Wed, 24 Dec 2025 00:28:28 +0800 Subject: [PATCH] fix: correct the MB to MiB in the game crash window (#5061) --- HMCL/src/main/java/org/jackhuang/hmcl/ui/GameCrashWindow.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/GameCrashWindow.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/GameCrashWindow.java index 4f514d1ad..4eec10c7d 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/GameCrashWindow.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/GameCrashWindow.java @@ -93,7 +93,7 @@ public class GameCrashWindow extends Stage { this.logs = logs; this.analyzer = LibraryAnalyzer.analyze(version, repository.getGameVersion(version).orElse(null)); - memory = Optional.ofNullable(launchOptions.getMaxMemory()).map(i -> i + " MB").orElse("-"); + memory = Optional.ofNullable(launchOptions.getMaxMemory()).map(i -> i + " " + i18n("settings.memory.unit.mib")).orElse("-"); total_memory = MEGABYTES.formatBytes(SystemInfo.getTotalMemorySize());