We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 316b6c2 commit 7a7211cCopy full SHA for 7a7211c
booter/arm9/source/graphics/graphics.cpp
@@ -143,7 +143,7 @@ void graphicsInit()
143
// Set up enough texture memory for our textures
144
// Bank A is just 128kb and we are using 194 kb of
145
// sprites
146
- vramSetBankA(VRAM_A_TEXTURE);
+ //vramSetBankA(VRAM_A_TEXTURE);
147
vramSetBankB(VRAM_B_TEXTURE);
148
149
vramSetBankF(VRAM_F_TEX_PALETTE); // Allocate VRAM bank for all the palettes
booter/arm9/source/main.cpp
@@ -113,7 +113,7 @@ int main(int argc, char **argv) {
113
stop();
114
}
115
116
- runNdsFile ("/_nds/dsimenuplusplus/main.srldr", 0, NULL);
+ int err = runNdsFile ("/_nds/dsimenuplusplus/main.srldr", 0, NULL);
117
118
if(!graphicsInited) {
119
graphicsInit();
@@ -123,8 +123,15 @@ int main(int argc, char **argv) {
123
124
125
clearText();
126
- printSmall(false, 4, 4, "sd:/_nds/dsimenuplusplus/");
127
- printSmall(false, 4, 12, "main.srldr not found.");
+ if (err == 1) {
+ printSmall(false, 4, 4, "sd:/_nds/dsimenuplusplus/");
128
+ printSmall(false, 4, 12, "main.srldr not found.");
129
+ } else {
130
+ char errorText[16];
131
+ snprintf(errorText, sizeof(errorText), "Error %i", err);
132
+ printSmall(false, 4, 4, "Unable to start main.srldr");
133
+ printSmall(false, 4, 12, errorText);
134
+ }
135
printSmall(false, 4, 28, "Press B to return to menu.");
136
137
while (1) {
0 commit comments