From 8f7e7280f906a7428cf02904b12f4adb2c4dc31b Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Wed, 10 Mar 2021 14:32:09 -0600 Subject: [PATCH] Removes support for 128KB DS firmwares MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 128KB DS firmwares come from DSi/3DS and aren’t bootable, so we consider them unsupported. --- Delta/Settings/Cores/SystemBIOS.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Delta/Settings/Cores/SystemBIOS.swift b/Delta/Settings/Cores/SystemBIOS.swift index 19e965b..e3d6568 100644 --- a/Delta/Settings/Cores/SystemBIOS.swift +++ b/Delta/Settings/Cores/SystemBIOS.swift @@ -74,8 +74,9 @@ enum DSBIOS: SystemBIOS, CaseIterable // 4KB return Set([4].map { Measurement(value: $0, unit: .kibibytes) }.map { $0...$0 }) case .firmware: - // 128KB, 256KB, or 512KB - return Set([128, 256, 512].map { Measurement(value: $0, unit: .kibibytes) }.map { $0...$0 }) + // 256KB or 512KB + // DSi/3DS 128KB firmwares technically work but aren't bootable, so we treat them as unsupported. + return Set([256, 512].map { Measurement(value: $0, unit: .kibibytes) }.map { $0...$0 }) } } }