GCN Custom libogc Library Function Causes Black Screen?

RemnantKnight56

Well-Known Member
OP
Newcomer
Joined
Jan 15, 2020
Messages
61
Trophies
0
Age
21
XP
378
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
61
Trophies
0
Age
21
XP
378
Country
United States
General chit-chat
Help Users
  • kenenthk @ kenenthk:
    Big butt so what
    Gift
  • kenenthk @ kenenthk:
    Cap or slap
    Gift
  • Xzi @ Xzi:
    "why hasnt disney sued for infringing a name?" Because Universal lost the King Kong versus Donkey Kong lawsuit in the 80s
    Gift
  • Xzi @ Xzi:
    no reasonable person can mix up snoop dogg with snoopy
    Gift
  • kenenthk @ kenenthk:
    Snoopy dog og double g yo
    Gift
  • Xzi @ Xzi:
    this is church music, listen to the choir, to burn my kush you must use fire
    Gift
  • kenenthk @ kenenthk:
    I believe in the almighty fuck that hoe
    Gift
  • kenenthk @ kenenthk:
    This black cherry Pepsi is disgusting
    Gift
  • PeeJay Bonobo @ PeeJay Bonobo:
    I used to like Black Cherry Pepsi
    Gift
  • PeeJay Bonobo @ PeeJay Bonobo:
    Now, I just avoid soda altogether.
    Gift
  • kenenthk @ kenenthk:
    I drink soda like once a week if that even
    Gift
  • kenenthk @ kenenthk:
    It's okay to have anything in moderation unless your doctor says different
    Gift
  • kenenthk @ kenenthk:
    New chucky series is just eh
    Gift
  • Veho @ Veho:
    Shame.
    Gift
  • Veho @ Veho:
    I heard it's more R.L. Stine than serious horror.
    Gift
  • kenenthk @ kenenthk:
    It's mostly trying to please new audience by saying we're okay with your sexual orientation and don't discriminate with a few murders here and there
    Gift
  • Veho @ Veho:
    They had that in the movies too.
    Gift
  • kenenthk @ kenenthk:
    Yeah but it's more in your force sort of
    Gift
  • Veho @ Veho:
    Chucky's son/daughter in Seed of Chucky.
    Gift
  • kenenthk @ kenenthk:
    It's not horrible just feels like they're trying to please crowds too hard
    Gift
  • kenenthk @ kenenthk:
    He did make a reference to his gender fluid son saying he doesn't have a problem with it which was a cool way to tie plots
    Gift
  • Veho @ Veho:
    "I don't know f I'm male or female or both or neither..:" "But do you like stabbing?" "Yes." "Then I love you."
    Gift
  • Veho @ Veho:
    "Let's go murder some people.
    Gift
  • kenenthk @ kenenthk:
    It just feels more cast heavy and not much focus on chucky imo
    Gift
  • katebeyond @ katebeyond:
    Monster Hunter Stories 2 Save
    Does anyone have a 100% complete storyline save?
    Nintendo Switch
    Gift
    katebeyond @ katebeyond: Monster Hunter Stories 2 Save Does anyone have a 100% complete storyline save...