File tree Expand file tree Collapse file tree 6 files changed +24
-0
lines changed Expand file tree Collapse file tree 6 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ void createEsrbSplash(void) {
40
40
}
41
41
42
42
std::string descriptors = esrbInfo.GetString (gameTid3, " Descriptors en" , " " );
43
+ const bool onlineNotice = esrbInfo.GetInt (gameTid3, " Online" , 0 );
43
44
44
45
bool sideways = false ;
45
46
if ((rating == " E" || rating == " EC" || rating == " RP" ) && descriptors == " " ) {
@@ -124,6 +125,9 @@ void createEsrbSplash(void) {
124
125
mkdir (sys ().isRunFromSD () ? " sd:/_nds/nds-bootstrap" : " fat:/_nds/nds-bootstrap" , 0777 );
125
126
126
127
FILE *file = fopen (sys ().isRunFromSD () ? " sd:/_nds/nds-bootstrap/esrb.bin" : " fat:/_nds/nds-bootstrap/esrb.bin" , " wb" );
128
+ if (onlineNotice) {
129
+ toncset32 (bmpImageBuffer, 0x494C4E4F , 1 ); // 'ONLI'
130
+ }
127
131
fwrite (bmpImageBuffer, sizeof (u16 ), 256 *192 , file);
128
132
fclose (file);
129
133
Original file line number Diff line number Diff line change @@ -1383,11 +1383,13 @@ Rating = E
1383
1383
Game Title = Pokémon Black Version
1384
1384
Rating = E
1385
1385
Descriptors en = Comic Mischief, Mild Cartoon Violence
1386
+ Online = 1
1386
1387
1387
1388
[IRE]
1388
1389
Game Title = Pokémon Black Version 2
1389
1390
Rating = E
1390
1391
Descriptors en = Comic Mischief, Mild Cartoon Violence
1392
+ Online = 1
1391
1393
1392
1394
[VPY]
1393
1395
Game Title = Pokémon Conquest
@@ -1463,11 +1465,13 @@ Rating = E
1463
1465
Game Title = Pokémon White Version
1464
1466
Rating = E
1465
1467
Descriptors en = Comic Mischief, Mild Cartoon Violence
1468
+ Online = 1
1466
1469
1467
1470
[IRD]
1468
1471
Game Title = Pokémon White Version 2
1469
1472
Rating = E
1470
1473
Descriptors en = Comic Mischief, Mild Cartoon Violence
1474
+ Online = 1
1471
1475
1472
1476
[CQT]
1473
1477
Game Title = POP CUTIE! Street Fashion Simulation
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ void createEsrbSplash(void) {
35
35
}
36
36
37
37
std::string descriptors = esrbInfo.GetString (gameTid3, " Descriptors en" , " " );
38
+ const bool onlineNotice = esrbInfo.GetInt (gameTid3, " Online" , 0 );
38
39
39
40
bool sideways = false ;
40
41
if ((rating == " E" || rating == " EC" || rating == " RP" ) && descriptors == " " ) {
@@ -121,6 +122,9 @@ void createEsrbSplash(void) {
121
122
mkdir (sys ().isRunFromSD () ? " sd:/_nds/nds-bootstrap" : " fat:/_nds/nds-bootstrap" , 0777 );
122
123
123
124
FILE *file = fopen (sys ().isRunFromSD () ? " sd:/_nds/nds-bootstrap/esrb.bin" : " fat:/_nds/nds-bootstrap/esrb.bin" , " wb" );
125
+ if (onlineNotice) {
126
+ toncset32 (bmpImageBuffer, 0x494C4E4F , 1 ); // 'ONLI'
127
+ }
124
128
fwrite (bmpImageBuffer, sizeof (u16 ), 256 *192 , file);
125
129
fclose (file);
126
130
Original file line number Diff line number Diff line change @@ -1383,11 +1383,13 @@ Rating = E
1383
1383
Game Title = Pokémon Black Version
1384
1384
Rating = E
1385
1385
Descriptors en = Comic Mischief, Mild Cartoon Violence
1386
+ Online = 1
1386
1387
1387
1388
[IRE]
1388
1389
Game Title = Pokémon Black Version 2
1389
1390
Rating = E
1390
1391
Descriptors en = Comic Mischief, Mild Cartoon Violence
1392
+ Online = 1
1391
1393
1392
1394
[VPY]
1393
1395
Game Title = Pokémon Conquest
@@ -1463,11 +1465,13 @@ Rating = E
1463
1465
Game Title = Pokémon White Version
1464
1466
Rating = E
1465
1467
Descriptors en = Comic Mischief, Mild Cartoon Violence
1468
+ Online = 1
1466
1469
1467
1470
[IRD]
1468
1471
Game Title = Pokémon White Version 2
1469
1472
Rating = E
1470
1473
Descriptors en = Comic Mischief, Mild Cartoon Violence
1474
+ Online = 1
1471
1475
1472
1476
[CQT]
1473
1477
Game Title = POP CUTIE! Street Fashion Simulation
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ void createEsrbSplash(void) {
36
36
}
37
37
38
38
std::string descriptors = esrbInfo.GetString (gameTid3, " Descriptors en" , " " );
39
+ const bool onlineNotice = esrbInfo.GetInt (gameTid3, " Online" , 0 );
39
40
40
41
bool sideways = false ;
41
42
if ((rating == " E" || rating == " EC" || rating == " RP" ) && descriptors == " " ) {
@@ -120,6 +121,9 @@ void createEsrbSplash(void) {
120
121
mkdir (sys ().isRunFromSD () ? " sd:/_nds/nds-bootstrap" : " fat:/_nds/nds-bootstrap" , 0777 );
121
122
122
123
FILE *file = fopen (sys ().isRunFromSD () ? " sd:/_nds/nds-bootstrap/esrb.bin" : " fat:/_nds/nds-bootstrap/esrb.bin" , " wb" );
124
+ if (onlineNotice) {
125
+ toncset32 (bmpImageBuffer, 0x494C4E4F , 1 ); // 'ONLI'
126
+ }
123
127
fwrite (bmpImageBuffer, sizeof (u16 ), 256 *192 , file);
124
128
fclose (file);
125
129
}
Original file line number Diff line number Diff line change @@ -1383,11 +1383,13 @@ Rating = E
1383
1383
Game Title = Pokémon Black Version
1384
1384
Rating = E
1385
1385
Descriptors en = Comic Mischief, Mild Cartoon Violence
1386
+ Online = 1
1386
1387
1387
1388
[IRE]
1388
1389
Game Title = Pokémon Black Version 2
1389
1390
Rating = E
1390
1391
Descriptors en = Comic Mischief, Mild Cartoon Violence
1392
+ Online = 1
1391
1393
1392
1394
[VPY]
1393
1395
Game Title = Pokémon Conquest
@@ -1463,11 +1465,13 @@ Rating = E
1463
1465
Game Title = Pokémon White Version
1464
1466
Rating = E
1465
1467
Descriptors en = Comic Mischief, Mild Cartoon Violence
1468
+ Online = 1
1466
1469
1467
1470
[IRD]
1468
1471
Game Title = Pokémon White Version 2
1469
1472
Rating = E
1470
1473
Descriptors en = Comic Mischief, Mild Cartoon Violence
1474
+ Online = 1
1471
1475
1472
1476
[CQT]
1473
1477
Game Title = POP CUTIE! Street Fashion Simulation
You can’t perform that action at this time.
0 commit comments