diff --git a/gui.pnproj b/gui.pnproj index 4ff60c09..36c5bd74 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/filelist.h b/source/filelist.h index 93e9ec60..bcbe921f 100644 --- a/source/filelist.h +++ b/source/filelist.h @@ -510,4 +510,7 @@ extern const u32 pegi_16_png_size; extern const u8 pegi_18_png[]; extern const u32 pegi_18_png_size; +extern const u8 usbport_png[]; +extern const u32 usbport_png_size; + #endif diff --git a/source/images/usbport.png b/source/images/usbport.png new file mode 100644 index 00000000..78de06a8 Binary files /dev/null and b/source/images/usbport.png differ diff --git a/source/main.cpp b/source/main.cpp index 45f3b42b..df99a113 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -59,6 +59,12 @@ static void BootUpProblems() bootimage.SetPosition(320-1.2*bootimage.GetWidth()/2, 240-1.2*bootimage.GetHeight()/2); bootimage.SetScale(1.2); + GuiImageData usbimageData(usbport_png); + GuiImage usbimage(&usbimageData); + usbimage.SetPosition(400,300); + usbimage.SetScale(.7); + usbimage.SetAlpha(200); + time_t curtime; time_t endtime = time(0) + 30; do { @@ -89,12 +95,14 @@ static void BootUpProblems() while(curtime == time(0)) { boottext.Draw(); bootimage.Draw(); + if (endtime-curtime<15)usbimage.Draw(); Menu_Render(); } } while((endtime-time(0)) > 0); if(ret2 < 0) { boottext.SetText("ERROR: USB device could not be loaded!"); + usbimage.Draw(); bootimage.Draw(); boottext.Draw(); Menu_Render();