GCN Custom libogc Library Function Causes Black Screen?

RemnantKnight56

Well-Known Member
OP
Newcomer
Joined
Jan 15, 2020
Messages
65
Trophies
0
Age
24
XP
521
Country
United States
Alright, this will take a bit of explaining. To put it simply, I am attempting to create a microphone library for libogc. So far I have the first version of the code written, and it compiles successfully in devkitpro. I made a simple test app, to do three things: initialize the mic, mount it, then check for the button. However, every time it gets to the mount step, the Gamecube goes to a black screen, and it doesn't even get the chance to output beforehand--no text or anything after I click the A button to proceed with the program.

I don't know how many will be able to help me here, but I'm desperate. I want this to work, since the mic is the only thing not currently supported in the library. I based most of the code on the memory card libraries, trimming out what I believe are unnecessary for the function of the mic. Clearly I'm missing something though.

I'll attach the files that make it work, including the header and c files, the modified files from base libogc, as well as the last DOL I compiled for testing. I'll also link the site I referenced in trying to make the mic work. I've tried my best to describe what the functions do.

Note that the app does actually detect there is a microphone connected; any other device, or lack thereof, causes my error checking to go through. It's only when it attempts to mount the mic that things go wrong. Feel free to test if you have a Gamecube and a Mic; I've tried Dolphin, but it doesn't seem to emulate the Microphone in a way for it to work. Be warned that the console does become unresponsive after the black screen happens, so you will need to power it off.

Thanks for reading, and hopefully I can find someone that can help.

https://drive.google.com/drive/folders/1q1nUsNOfpL1xYVdfjU7BIA9U-OmCtWhm?usp=sharing

Nintendo GameCube Microphone - gc-linux
 

RemnantKnight56

Well-Known Member
OP
Newcomer
Joined
Jan 15, 2020
Messages
65
Trophies
0
Age
24
XP
521
Country
United States

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Veho @ Veho: The cybertruck is a death trap.