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
382
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
382
Country
United States
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Julie_Pilgrim @ Julie_Pilgrim:
    do you look under the buttons of your mouse
    Gift
  • El_Doot @ El_Doot:
    why do your friends look under the buttons of your mouse
    Gift
  • Julie_Pilgrim @ Julie_Pilgrim:
    they dont it's just that they saw the outside of my mouse and said it was disgusting
    Gift
  • El_Doot @ El_Doot:
    oh wait I understand my braincells have increased
    Gift
  • El_Doot @ El_Doot:
    by 1
    Gift
  • Julie_Pilgrim @ Julie_Pilgrim:
    funnily enough when i was telling my openly femboy furry bf and my friend(we talk about femboys sometimes) they said "nope we don't wanna hear that that's disgusting"
    Gift
  • Julie_Pilgrim @ Julie_Pilgrim:
    why is cheeto dust of all things
    the subject that crosses the line
    Gift
  • RichardTheKing @ RichardTheKing:
    Wait, Switch Online now has Super Mario 64, right?
    Gift
  • Julie_Pilgrim @ Julie_Pilgrim:
    i really hate to say this but
    Gift
  • Julie_Pilgrim @ Julie_Pilgrim:
    i dont think it does
    Gift
  • RichardTheKing @ RichardTheKing:
    Huh, makes sense; they did sell that through the 3D All-Stars collection.
    Gift
  • RichardTheKing @ RichardTheKing:
    Which, last I heard was removed from the eShop...so they might as well offer it again, I guess...
    Gift
  • RichardTheKing @ RichardTheKing:
    Will they use the same Shindou-translated ROM, or the original English ROM?
    Gift
  • Julie_Pilgrim @ Julie_Pilgrim:
    googling it, it seems that mario 64 is on the service
    Gift
  • Julie_Pilgrim @ Julie_Pilgrim:
    in japan they use the shindou version apparently but in the states and elsewhere they use the original rom
    Gift
  • Julie_Pilgrim @ Julie_Pilgrim:
    oh boy oh boy oh boy i sure do love living in japan and being a mario fan, i just got the new expansion pack, i cant wait to do some bljs!
    +1
    Gift
  • RichardTheKing @ RichardTheKing:
    From what I've heard about the Expansion Pack, the emulator used has some noticeable input delay and/or lag...would BLJs even be possible?
    Gift
  • RichardTheKing @ RichardTheKing:
    Apparently Nintendo adapted the 3D All-Stars emulator, instead of their old Virtual Console emulator - or, if nothing else, copying what fans have done.
    Gift
  • Julie_Pilgrim @ Julie_Pilgrim:
    from what i can seem to gather there's some issues but nothing dramatic enough to severely impact what you're playing
    Gift
  • Julie_Pilgrim @ Julie_Pilgrim:
    honestly the whole expansion pack confuses me since i thought the nes/snes games were just a neat little bonus
    Gift
  • El_Doot @ El_Doot:
    wait julie your bf is a femboy holy shit im jealous
    +1
    Gift
  • AkiraKurusu @ AkiraKurusu:
    So many planes flying overhead, and they sound close...
    Gift
  • DJPlace @ DJPlace:
    do you need friends to play the games online for the switch exapsion pack i know snes and nes do.
    Gift
  • Julie_Pilgrim @ Julie_Pilgrim:
    @El_Doot well hey hot people do get more benefits in life
    Gift
  • J @ Jephter:
    Please I need help with this. I just homebrew my old 3ds console and downloaded a CIA file, but after surfing through for only 10 sec or less this appears. please can someone help me? Thank you in advance.
    Gift
    J @ Jephter: Please I need help with this. I just homebrew my old 3ds console and downloaded a CIA file, but...