Search found 5 matches

by lnuxguy
Wed Nov 12, 2008 1:23 am
Forum: Gamecube/Wii Development
Topic: Crash on u32 binary comparison
Replies: 3
Views: 5383

Re: Crash on u32 binary comparison

Nevermind, I found the error: After running the debugger (offline) on the elf and finding the function call that was crashing, it was an unrelated section of code. The weird thing is that the code that was causing the crash has been in place for a few weeks! It only started to show up once I did ...
by lnuxguy
Tue Nov 11, 2008 9:04 pm
Forum: Gamecube/Wii Development
Topic: Crash on u32 binary comparison
Replies: 3
Views: 5383

Re: Crash on u32 binary comparison

I does seem to crash on that instruction. I've had a simple printf() and sleep() in the codeblock, and it still crashes without any screen output or sleep delay.
by lnuxguy
Tue Nov 11, 2008 6:40 pm
Forum: Gamecube/Wii Development
Topic: programming wii homebrew .dol restart wii??help needed
Replies: 2
Views: 6849

Re: programming wii homebrew .dol restart wii??help needed

Just use exit(0); to exit the program.
by lnuxguy
Tue Nov 11, 2008 6:31 pm
Forum: Gamecube/Wii Development
Topic: Crash on u32 binary comparison
Replies: 3
Views: 5383

Crash on u32 binary comparison

I've got an SDL-based game (WiiDoom), and in the startup routines, I'm watching for button presses. The following code works: while(true) { WPAD_ScanPads(); u32 wpaddown = WPAD_ButtonsDown(0); if (wpaddown & WPAD_BUTTON_B) exit(0); if (wpaddown & WPAD_BUTTON_1) done = true; } No problems whatsoever ...
by lnuxguy
Sat Jul 19, 2008 5:16 pm
Forum: devkitPPC
Topic: Compiling SDL-Port from CVS
Replies: 7
Views: 12324

Compiling SDL-Port from CVS

Can someone post instruction on compiling SDL-Port for the Wii? I've checked it out from DevKitPro's CVS, but have gotten some errors and I'm sure I'm missing something...