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.
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;
}