Hello all.
Currently, I'm compiling OpenGL code for the dreamcast using code::blocks and I can run it on nullDC. My problem is that I don't know how to load files from the CDrom.
When I create a cdi image from the compiled elf file (using boot dreams) and load it in nullDC, the program runs but no files can be loaded. And when I open the CDI image with 7zip, there's no bmp files.
How do I put media files (like wav and bmp) in the CDI image and then load them when I run the cdi from nullDC?
use "cd" in root path
fopen("/cd/image.bmp")
remove rom code..
extern uint8 romdisk[];
KOS_INIT_ROMDISK(romdisk);
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks