Project

General

Profile

Actions

Emulator Issues #11072

open

Loading value from the same register causes emulator to crash

Added by Brandondorf9999 over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Any custom gecko codes that have an opcode that loads the value to the same register where it was loaded from crashes/freezes the game if executed. I discovered it on 5.0-7227 when testing a code for Super Mario Sunshine which caused the problem with the code handler:

C22F7890 00000003
C0DC002C 823C005C
82310040 7E318A78
60000000 00000000

The following injection opcodes were used:

lfs f6,44(r28)
lwz r17,0x5C(r28)
lwz r17,0x40(r17) <----- The opcode that loads to the same register as the source with an offset.
xor r17,r17,r17

Actions

Also available in: Atom PDF