If you are talking about gbalzss, I use my modified(because original gbalzss.c isn't working) version of gbalzss to compress. http://leafmoon.users.sourceforge.net/x ... ksplash.7z
You can use "gbalzssrawstdio -c <bin >bin.lzs". If you want vramsafem, use -cv instead
nds/arm9/videoGL.h
- sassert(count != NULL,"glCallList received a display list of size 0");
+ sassert(count != 0,"glCallList received a display list of size 0");
will fix that because count is u32...
#Awww possibly wrong section (should go to libnds) very sorry...
Today I disassembled MoonShell2.10 to compare FAT_LinkFreeCluster() and_FAT_fat_linkFreeCluster(). Both "modified gba_nds_fat" and libfat had: --- if ((curLink >= CLUSTER_FIRST) && (curLink <= fatLastCluster)) { return curLink; // Return the current link - don't allocate a new one } --- But ...
I have checked libnds-src to figure out that getBatteryLevel is a FIFO function. Then I see ARM7 code: battery = readPowerManagement(PM_BATTERY_REG) & 1; backlight = readPowerManagement(PM_BACKLIGHT_LEVEL); if (backlight & (1<<6)) battery += backlight & (1<<3)<<12; fifoSendValue32(FIFO_SYSTEM ...