*Fixed install bug when 0 Games are on the HDD
This commit is contained in:
parent
feda5a7ba6
commit
4581890650
2 changed files with 7 additions and 6 deletions
|
@ -13,7 +13,7 @@ int USBDevice_Init()
|
|||
//right now only mounts first partition and only under IOS36
|
||||
__io_usbstorage.startup();
|
||||
|
||||
if (fatMountSimple("USB", &__io_usbstorage, 0, CACHE)) {
|
||||
if (fatMount("USB", &__io_usbstorage, 0, CACHE)) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@ GuiGameBrowser::GuiGameBrowser(int w, int h, struct discHdr * l, int gameCnt, co
|
|||
{
|
||||
width = w;
|
||||
height = h;
|
||||
if (gameCnt == 0) gameCnt = 1;
|
||||
this->gameCnt = gameCnt;
|
||||
gameList = l;
|
||||
pagesize = (gameCnt > THEME.pagesize) ? THEME.pagesize : gameCnt;
|
||||
|
|
Loading…
Reference in a new issue