Commit e8d58a9
committed
workaround for cores showing internal load errors with xml loader
if we pass the core's own error message over to the user without xml, the dialog they see is the regular "core accepted the rom + error message" one. but if the same happens for something loaded through xml, the dialog is instead "no core could load this + 2 copies of the same error/stack".
turns out there's a special case when MissingFirmwareException is thrown to avoid that second dialog. but internal errors are not MissingFirmwareException, so I added my own and a check for it.
unfortunately when running the debug build of hawk PLUS release build of dsda and causing such an internal error, there's still stack overflow after the throw...1 parent 8f57499 commit e8d58a9
File tree
5 files changed
+15
-5
lines changed- src
- BizHawk.Client.Common
- BizHawk.Emulation.Common
- BizHawk.Emulation.Cores
- Arcades/MAME
- Computers/Doom
- waterbox/dsda
5 files changed
+15
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
432 | | - | |
433 | | - | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
434 | 437 | | |
435 | 438 | | |
436 | 439 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
44 | 51 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
| 382 | + | |
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
| |||
Submodule core updated from 7ee3f0c to c5a129a
0 commit comments