mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-04 18:45:05 +01:00
*Fixed Alternate DOL not working (since 529)
This commit is contained in:
parent
db9df14d66
commit
1079b110a7
@ -341,12 +341,8 @@ s32 Apploader_Run(entry_point *entry, u8 cheat, u8 videoSelected, u8 vipatch, u8
|
||||
if(alternatedol == 1) {
|
||||
void *dolbuffer;
|
||||
int dollen;
|
||||
|
||||
char * path = Settings.dolpath;
|
||||
//snprintf(path, sizeof(path), Settings.dolpath);
|
||||
|
||||
//char * path = "SD:/";
|
||||
bool dolloaded = Load_Dol(&dolbuffer, &dollen, path);
|
||||
|
||||
bool dolloaded = Load_Dol(&dolbuffer, &dollen, Settings.dolpath);
|
||||
if(dolloaded) {
|
||||
Remove_001_Protection(dolbuffer, dollen);
|
||||
|
||||
|
@ -12,33 +12,33 @@ extern "C"
|
||||
|
||||
struct gameXMLinfo
|
||||
{
|
||||
char id[8];
|
||||
char version[50];
|
||||
char id[10];
|
||||
char version[500];
|
||||
char region[10];
|
||||
char title[100];
|
||||
char title[500];
|
||||
char synopsis[2000];
|
||||
char title_EN[100];
|
||||
char title_EN[500];
|
||||
char synopsis_EN[2000];
|
||||
char locales[15][50];
|
||||
char developer[75];
|
||||
char publisher[75];
|
||||
char publisherfromid[75];
|
||||
char locales[100][500];
|
||||
char developer[500];
|
||||
char publisher[500];
|
||||
char publisherfromid[500];
|
||||
char year[10];
|
||||
char month[10];
|
||||
char day[10];
|
||||
char genre[40];
|
||||
char genresplit[10][15];
|
||||
char ratingtype[6];
|
||||
char ratingvalue[6];
|
||||
char ratingdescriptors[20][15];
|
||||
char ratingvalueCERO[6];
|
||||
char ratingvalueESRB[6];
|
||||
char ratingvaluePEGI[6];
|
||||
char wifiplayers[4];
|
||||
char wififeatures[10][15];
|
||||
char players[4];
|
||||
char accessories[10][15];
|
||||
char accessories_required[10][15];
|
||||
char genre[500];
|
||||
char genresplit[100][500];
|
||||
char ratingtype[10];
|
||||
char ratingvalue[10];
|
||||
char ratingdescriptors[100][500];
|
||||
char ratingvalueCERO[10];
|
||||
char ratingvalueESRB[10];
|
||||
char ratingvaluePEGI[10];
|
||||
char wifiplayers[10];
|
||||
char wififeatures[100][500];
|
||||
char players[10];
|
||||
char accessories[100][500];
|
||||
char accessories_required[100][500];
|
||||
char iso_crc[10];
|
||||
char iso_md5[50];
|
||||
char iso_sha1[50];
|
||||
@ -46,7 +46,7 @@ struct gameXMLinfo
|
||||
int accessoryCnt;
|
||||
int accessoryReqCnt;
|
||||
int wifiCnt;
|
||||
|
||||
|
||||
} ;
|
||||
|
||||
struct gameXMLinfo gameinfo;
|
||||
|
Loading…
Reference in New Issue
Block a user