michelhe / rustboyadvance-ng

RustBoyAdvance-NG is a Nintendo™ Game Boy Advance emulator and debugger, written in the rust programming language.
MIT License
602 stars 23 forks source link

Panic on invalid CPU modes #104

Open xTibor opened 4 years ago

xTibor commented 4 years ago
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', rustboyadvance-core/src/arm7tdmi/psr.rs:73:9

Games hitting this panic:

michelhe commented 4 years ago

*closed by mistake

I don't recall having this panic when playin madden NFL 2002.

I'll try to do a bisect and look into it in the weekend, this could be a regression

michelhe commented 4 years ago

I was hoping open-bus will solve these too, but nope.