Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetOpInfo: Assert on all invalid Ops. #993

Merged
merged 1 commit into from Sep 6, 2014

Conversation

phire
Copy link
Member

@phire phire commented Sep 6, 2014

GetOpInfo was returning null pointers for invalid ops in subtables instead of asserting an error. This was causing segfaults when the jit tried to jit invalid code.

GetOpInfo was returning null pointers for invalid ops in subtables
instead of asserting an error. This was causing segfaults when the
jit tried to jit invalid code.
@skidau
Copy link
Contributor

skidau commented Sep 6, 2014

This looks good to me.

@Sonicadvance1
Copy link
Contributor

LGTM

skidau added a commit that referenced this pull request Sep 6, 2014
GetOpInfo: Assert on all invalid Ops.
@skidau skidau merged commit a8f724e into dolphin-emu:master Sep 6, 2014
@CarlKenner
Copy link
Contributor

This looks bad to me. Now it crashes whenever I try to start Metroid Prime 2 (info is null).

@Kodiack
Copy link

Kodiack commented Sep 6, 2014

I can also confirm that I am crashing in Kirby Air Ride, Paper Mario: TTYD, and likely several other titles as well as of this PR.

@escape209
Copy link
Contributor

Crashes both Burnout and Burnout 2: Point of Impact. Anyone found any unaffected games?

@Kodiack
Copy link

Kodiack commented Sep 6, 2014

VC titles seem to be unaffected, but I'm crashing in every GCN/Wii title that I've tried so far.

comex added a commit to comex/dolphin that referenced this pull request Sep 6, 2014
This reverts commit a8f724e, reversing
changes made to 7a1eca1.

For why I'm reverting this entirely, see pull request 997.
comex added a commit that referenced this pull request Sep 6, 2014
Revert "Merge pull request #993 from phire/fix_getOpInfo"
@phire
Copy link
Member Author

phire commented Sep 6, 2014

VC titles seem to be unaffected, but I'm crashing in every GCN/Wii title that I've tried so far.

Funny that, I only tested on VC games.

@phire phire deleted the fix_getOpInfo branch July 4, 2015 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants