From f354a915d78c13b9ae846a9a0820036c42ba7c1e Mon Sep 17 00:00:00 2001 From: "ardi@ist-einmalig.de" Date: Mon, 15 Jun 2009 15:32:40 +0000 Subject: [PATCH] --- source/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main.cpp b/source/main.cpp index 4dfbc564..711f1d67 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -79,7 +79,7 @@ main(int argc, char *argv[]) { //try USB struct stat st; - if((stat("USB:/apps/usbloader_gx/boot.dol", &st) == 0) || (stat("USB:/apps/usbloader_gx/boot.elf", NULL) == 0)) + if((stat("USB:/apps/usbloader_gx/boot.dol", &st) == 0) || (stat("USB:/apps/usbloader_gx/boot.elf", &st) == 0)) strcpy(bootDevice, "USB:"); }