Skip to content

Commit fa860f3

Browse files
committed
Show Rocket Video Player logo on top screen of file browser
1 parent 6f7a7d8 commit fa860f3

3 files changed

Lines changed: 2 additions & 15 deletions

File tree

arm9/source/main.cpp

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -746,24 +746,11 @@ int main(int argc, char **argv) {
746746
filename.erase(0, last_slash_idx + 1);
747747
}
748748
} else {
749-
clearBrightness();
750-
751749
videoSetMode(MODE_0_2D);
752750
vramSetBankG(VRAM_G_MAIN_BG);
753751
consoleInit(NULL, 0, BgType_Text4bpp, BgSize_T_256x256, 15, 0, true, true);
754-
755-
FILE* file = fopen("nitro:/test_comp.bin", "rb");
756-
757-
if (file) {
758-
// Start loading
759-
fread(compressedFrameBuffer, 1, sizeof(compressedFrameBuffer), file);
760-
lzssDecompress(compressedFrameBuffer, frameBuffer);
761-
dmaCopyAsynch(frameBuffer, BG_GFX_SUB, 0x18000);
762-
} else {
763-
dmaFillHalfWords(0, BG_GFX_SUB, 0x18000); // Clear top screen
764-
}
765-
766-
fclose(file);
752+
LoadBMP(false, "nitro:/logo_rocketvideoplayer.bmp");
753+
fadeType = true;
767754

768755
filename = browseForFile(extensionList);
769756
}
96.1 KB
Binary file not shown.

nitrofiles/test_comp.bin

-26.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)