From 7245d1779c9d132fffa3d96450cdc7b15726e1b3 Mon Sep 17 00:00:00 2001 From: Palapeli <26661008+mkwcat@users.noreply.github.com> Date: Sat, 4 Apr 2026 02:04:24 -0400 Subject: [PATCH] Common: Don't filter official Mii data --- common/mii.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/mii.go b/common/mii.go index 31f22fa..c01dba5 100644 --- a/common/mii.go +++ b/common/mii.go @@ -61,6 +61,11 @@ func SearchOfficialMiiData(id uint64) (bool, int) { // ClearMiiInfo clears any Mii information that generally isn't or shouldn't be shared publicly, // mainly the "console ID", which can be used to determine the Mii creator's MAC address func (mii RawMii) ClearMiiInfo() RawMii { + // Don't filter official Mii data + if found, _ := SearchOfficialMiiData(binary.BigEndian.Uint64(mii.Data[0x18:0x20])); found { + return mii + } + // Clear the create ID, which the MAC address can be derived from binary.BigEndian.PutUint32(mii.Data[0x18:0x1C], 0x80000000) binary.BigEndian.PutUint32(mii.Data[0x1C:0x20], 0)