Cant run my own game on r4 card

MrMoneyBags100

Member
OP
Newcomer
Joined
Oct 1, 2021
Messages
5
Trophies
0
Age
21
XP
53
Country
United Kingdom
When I try to put my Test.nds game on my "R4 Gold Pro" it will display a white top screen and black bottom screen.
I have been able to successfully play other games on this card so I don't think that is the issue here.
My file works on the DeSmuMe emulator so I don't know what I can do.
I'll input my code in-case there is anything I can do but all it is supposed to do thus far is display a background.
as you can see in the header, I am using NFlibrary for my project.

Any help would be appreciated, thanks for reading.

Code:
#include <iostream>
#include <nds.h>
#include <nf_lib.h>

int main(int argc, char **argv) {

    consoleDemoInit();
    consoleClear();
    setBrightness(3, 0);
    NF_SetRootFolder("NITROFS");
   
    NF_Set2D(0, 0);
    NF_Set2D(1, 0);
   
    NF_InitTiledBgBuffers();
    NF_InitTiledBgSys(0);
    NF_InitTiledBgSys(1);

    NF_LoadTiledBg("Backgrounds/Sky", "Sky", 256, 256);
    NF_LoadTiledBg("Backgrounds/SeaBg", "Sea", 256, 256);
    NF_LoadTiledBg("Backgrounds/ShipBg", "Ship", 256, 256);

    NF_CreateTiledBg(0, 3, "Sky");
    NF_CreateTiledBg(1, 3, "Sea");
    NF_CreateTiledBg(1, 2, "Ship");



    while(1) {

        NF_SpriteOamSet(0);
        NF_SpriteOamSet(1);
        swiWaitForVBlank();
        oamUpdate(&oamMain);
        oamUpdate(&oamSub);
    }

    return 0;

}
 

Attachments

  • Capture.JPG
    Capture.JPG
    76.8 KB · Views: 14
  • 20211001_185414.jpg
    20211001_185414.jpg
    2.4 MB · Views: 17
  • 20210930_212323.jpg
    20210930_212323.jpg
    1.5 MB · Views: 18
General chit-chat
Help Users
  • No one is chatting at the moment.
    Maq47 @ Maq47: @BORTZ sorry, not sorry. xD https://i.imgur.com/C0IOqpt.png