hey, newbie here
so, I've been tinkering and learning to make DS homebrew, only with libnds and nflib for now.
and when opening one of the things I made on my DS Lite, this error came up:
tried it on my old 3DS, and same.
I have made some programs before, using at most nflib's sprite functions, and they have worked just fine. this one doesn't (it does work on emulator, though).
from what I read, this may have to do with the physical MPU inside the DS, and that I may have screwed up something with the memory.
I only used memory loading functions from nflib (NF_LoadSpriteGfx(), NF_LoadSpritePal() and such).
any advice or help is appreciated, and tell me if you need the code.
if it helps, here's the code of a function I made that could be part of the problem:
I'm not really an expert at coding, in case you were wondering.
so, I've been tinkering and learning to make DS homebrew, only with libnds and nflib for now.
and when opening one of the things I made on my DS Lite, this error came up:
tried it on my old 3DS, and same.
I have made some programs before, using at most nflib's sprite functions, and they have worked just fine. this one doesn't (it does work on emulator, though).
from what I read, this may have to do with the physical MPU inside the DS, and that I may have screwed up something with the memory.
I only used memory loading functions from nflib (NF_LoadSpriteGfx(), NF_LoadSpritePal() and such).
any advice or help is appreciated, and tell me if you need the code.
Post automatically merged:
if it helps, here's the code of a function I made that could be part of the problem:
Code:
void assignSpritesToMemory(){
for(int i = 0; i < 3; i++){
NF_LoadSpriteGfx(sprite_dir[i], i, size_x, size_y);//(file, RAM slot, size x, size y)
NF_LoadSpritePal(palette_dir[i], i); //(file, RAM slot)
//Cargar el sprite junto a su paleta de la RAM a la VRAM.
NF_VramSpriteGfx(screen, i, i, true);//(screen, RAM slot, VRAM slot, copy all frames to VRAM)
NF_VramSpritePal(screen, i, i); //(screen, RAM slot, VRAM slot)
}
Last edited by pansy_thoughts,








