Skip to content

Commit

Permalink
fix strncmp
Browse files Browse the repository at this point in the history
  • Loading branch information
KrahJohlito committed Nov 5, 2024
1 parent 00bf63e commit 65c94ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ee_core/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static int eecoreInit(int argc, char **argv)
config->GameMode = BDM_M4S_MODE;
else if (!_strncmp(config->GameModeDesc, "BDM_USB_MODE", 12))
config->GameMode = BDM_USB_MODE;
else if (!_strncmp(config->GameModeDesc, "BDM_ATA_MODE", 16))
else if (!_strncmp(config->GameModeDesc, "BDM_ATA_MODE", 12))
config->GameMode = BDM_HDD_MODE;
else if (!_strncmp(config->GameModeDesc, "ETH_MODE", 8))
config->GameMode = ETH_MODE;
Expand Down

0 comments on commit 65c94ce

Please sign in to comment.