diff --git a/gui.pnproj b/gui.pnproj
index c563516b..b6996f1d 100644
--- a/gui.pnproj
+++ b/gui.pnproj
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/source/disc.c b/source/disc.c
index 19a48097..a7a67185 100644
--- a/source/disc.c
+++ b/source/disc.c
@@ -136,7 +136,7 @@ void __Disc_SetVMode(u8 videoselected)
void __Disc_SetTime(void)
{
/* Extern */
- extern void settime(long long);
+ extern void settime(u64);
/* Set proper time */
settime(secs_to_ticks(time(NULL) - 946684800));
diff --git a/source/fatmounter.c b/source/fatmounter.c
index 9a8896b1..85f7a2f2 100644
--- a/source/fatmounter.c
+++ b/source/fatmounter.c
@@ -1,9 +1,10 @@
#include
+#include
#include
#include
+#include
#include
#include
-#include
#define CACHE 8
@@ -13,7 +14,7 @@ int USBDevice_Init()
//right now only mounts first partition and only under IOS36
__io_usbstorage.startup();
- if (fatMount("USB", &__io_usbstorage, 0, CACHE)) {
+ if (fatMountSimple("USB", &__io_usbstorage)) {
return 1;
}
diff --git a/source/menu.cpp b/source/menu.cpp
index 7ca90793..7ddf83ac 100644
--- a/source/menu.cpp
+++ b/source/menu.cpp
@@ -1978,11 +1978,8 @@ ProgressDownloadWindow(int choice2)
while (i < cntMissFiles) {
-
-
sprintf(prozent, "%i%%", 100*i/cntMissFiles);
prTxt.SetText(prozent);
- //prTxt.SetFont(fontClock);
if ((Settings.wsprompt == yes) && (CFG.widescreen)){/////////////adjust for widescreen
progressbarImg.SetPosition(80,40);
@@ -2024,13 +2021,10 @@ ProgressDownloadWindow(int choice2)
// save png to sd card
FILE *pfile;
pfile = fopen(imgPath, "wb");
- if (!pfile)
- return -1;
fwrite(file.data,1,file.size,pfile);
fclose (pfile);
free(file.data);
}
-
i++;
}