Homebrew csnd issue

elhobbs

Well-Known Member
OP
Member
Joined
Jul 28, 2008
Messages
1,044
Trophies
1
XP
3,034
Country
United States
I am having an issue where if I include csnd in my project it fails to boot. I get stuck at a red screen after selecting it from the homebrew menu. If I comment out csnd then it starts fine. with csnd it never progresses past the red screen booting from ironhax or ninjhax. I tried adding an xml file with csnd service to the directory but it did not help. Any ideas?

I do not think the code is the issue - but here it is:
Code:
int main (int argc, char **argv) {
   char *cmdline;
   int i, len;

   gfxInitDefault();
   consoleInit(GFX_BOTTOM, 0);
   gfxSwapBuffers();


   printf("init GPU...\n");
   svcSleepThread(2000000000);

   GPU_Init(NULL);

   gfxSet3D(false);


   printf("init csnd...\n");
   svcSleepThread(2000000000);

#if 1
   if (csndInit() == 0) {
     printf("Sound init ok!\n");
   }
   else {
     printf("Sound init failed!\n");
   }
#endif // 1

   printf("LINEAR  free: %dKB\n", (int)linearSpaceFree() / 1024);
   printf("REGULAR free: %dKB\n", (int)getMemFree() / 1024);
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: Metal tapes even