Invalid Opcode on ogc_crt0?

Post Reply
Fancy2209
Posts: 1
Joined: Wed Apr 19, 2023 12:48 pm

Invalid Opcode on ogc_crt0?

Post by Fancy2209 » Sun Apr 28, 2024 10:13 pm

Hello, I am very new to porting stuff to the Wii and was trying to port Sonic Robo Blast 2.2.13 to the Wii, but when I finally got it to compile, Dolphin printed this:
Image
Weird thing is, addr2line says it's from ogc_crt0, who is responsible for starting the GC Hardware.

Code: Select all

$ /opt/devkitpro/devkitPPC/bin/powerpc-eabi-addr2line.exe -e lsdl2srb2 0x8000407c
ogc_crt0.o:?
Anyone knows what could be the reason for it to be failing there??
Here's a diff of my changes agaisnt the original code of the game
https://github.com/STJr/SRB2/compare/22 ... 9:SRB2:Wii

Fancy2209
Posts: 1
Joined: Wed Apr 19, 2023 12:48 pm

Re: Invalid Opcode on ogc_crt0?

Post by Fancy2209 » Tue Apr 30, 2024 5:44 pm

I posted the wrong addr2line output

Code: Select all

0x802c7684
SYS_Init
/home/davem/projects/devkitpro/pacman-packages/libogc/src/libogc-2.6.0/libogc/system.c:1050
0x8000407c
startup
ogc_crt0.o:?
the adress for the PC changed because I attempted to build without libpng and libz
Last edited by Fancy2209 on Tue Apr 30, 2024 5:46 pm, edited 1 time in total.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests