Skip to content

Commit 406febf

Browse files
fox8091fox8091
andauthored
Add detection for IS-RAY-DEBUGGER (#973)
* Remove note about IS-CLOSER-BOX * Add detection for IS-RAY-DEBUGGER --------- Co-authored-by: fox8091 <fox8091@n7.pm>
1 parent fbce1fd commit 406febf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

arm9/source/utils/sysinfo.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,13 +250,14 @@ void GetSysInfo_SecureInfo(SysInfo* info, char nand_drive) {
250250
// Determine the sub-model from the first two digits of the digit part.
251251
if (first_digit && second_digit) {
252252
if (IS_DEVKIT) {
253-
// missing: identification for IS-CLOSER-BOX (issue #276)
254253
if ((first_digit == '9') && (second_digit == '0') && (info->int_model == MODEL_OLD_3DS)) {
255254
strncpy(info->sub_model, "Partner-CTR", countof("Partner-CTR"));
256255
} else if ((first_digit == '9') && (second_digit == '1') && (info->int_model == MODEL_OLD_3DS)) {
257256
strncpy(info->sub_model, "IS-CTR-BOX", countof("IS-CTR-BOX"));
258257
} else if ((first_digit == '9') && (second_digit == '1') && (info->int_model == MODEL_OLD_3DS_XL)) {
259258
strncpy(info->sub_model, "IS-SPR-BOX", countof("IS-SPR-BOX"));
259+
} else if ((first_digit == '9') && (second_digit == '0') && (info->int_model == MODEL_NEW_3DS)){
260+
strncpy(info->sub_model, "IS-RAY-DEBUGGER", countof("IS-RAY-DEBUGGER"));
260261
} else if ((first_digit == '9') && (second_digit == '1') && (info->int_model == MODEL_NEW_3DS)) {
261262
strncpy(info->sub_model, "IS-SNAKE-BOX", countof("IS-SNAKE-BOX"));
262263
} else {

0 commit comments

Comments
 (0)