Pokechu22
78bfd25964
Fix all uninitialized variable warnings (C26495)
2021-10-13 12:32:16 -07:00
Pokechu22
525e6b2194
MMU: Replace TryReadResult and TryWriteResult with std::optional
2021-10-13 11:44:28 -07:00
Pokechu22
673f886a7e
MMU: Replace uses of cassert with Common/Assert.h
2021-10-13 11:44:28 -07:00
Pokechu22
aacc1a5e49
IOFile: Add std::array functions
2021-10-13 11:44:28 -07:00
Léo Lam and GitHub
a0a91ec4b8
Merge pull request #10163 from JosJuice/b
...
Android: Improve OpenModeToAndroid's handling of 'b'
2021-10-13 20:43:33 +02:00
Léo Lam and GitHub
71051b7027
Merge pull request #10043 from JosJuice/true-crime
...
Raise program exception on floating point exceptions
2021-10-13 20:39:34 +02:00
JosJuice
c250ed03cf
GameINI: Enable DivByZeroExceptions where needed
...
Combined with the previous commits in this pull request,
this fixes https://bugs.dolphin-emu.org/issues/7230 (True Crime:
New York City) and https://bugs.dolphin-emu.org/issues/9650
(Call of Duty: Finest Hour).
2021-10-13 17:42:56 +02:00
JosJuice
25bff91054
Interpreter: Fix NI_div ZX check
2021-10-13 17:42:56 +02:00
JosJuice
9f525d69c8
Jit: Raise program exception on floating point exceptions
...
This is done entirely through interpreter fallbacks. It would
probably be possible to implement this using host exception
handlers instead, but I think it would be a lot of complexity
for a rarely used feature, so let's not do it for now.
For performance reasons, there are two settings for this feature:
One setting which does enables just what True Crime: New York City
needs and one setting which enables it all. The latter makes
almost all float instructions fall back to the interpreter.
2021-10-13 17:42:56 +02:00
JosJuice
7f7748e181
Interpreter: Raise program exception on floating point exceptions
2021-10-13 17:42:56 +02:00
JosJuice
c3bcc67653
PowerPC: Update FEX on FPSCR store instead of FPSCR load
...
This is needed not only for the next commit, but also for
correctly emulating float instructions that write to CR1.
2021-10-13 17:42:56 +02:00
JosJuice
89a464dafa
Interpreter: Optimize FEX calculation
...
The next commit will make the interpreter run this after every
float instruction, so I think a little optimization here is justified.
2021-10-13 17:42:56 +02:00
JosJuice
83c6df1965
PowerPC: Set SRR1 correctly for program exceptions
2021-10-13 17:42:56 +02:00
JosJuice
b28e5149a7
Android: Improve OpenModeToAndroid's handling of 'b'
...
Now it also works when b isn't at the very end. (+ goes after b.)
2021-10-13 17:39:09 +02:00
Léo Lam and GitHub
4541abd1c0
Merge pull request #10121 from malleoz/game-window-cursor-always-on
...
DolphinQt: Add option to always show Mouse Cursor
2021-10-13 12:22:10 +02:00
sowens99
2aa400e72f
Add option for Never Hide Mouse Cursor
...
Instead of having a single GUI checkbox for "Always Hide Mouse Cursor",
I have instead opted to use radio buttons so the user can swap between
different states of mouse visibility. "Movement" is the default
behavior, "Never" will hide the mouse cursor the entire time the game is
running, and "Always" will keep the mouse cursor always visible.
2021-10-12 21:04:27 -04:00
sowens99
5145853351
Bug: fix unhide on mouse movement only responding to clicks
...
Previously the unhide of movement mouse_timer reset occurred within case MouseButtonPress.
Additionally, there was a redundant expression in the if statement for cursor locking.
2021-10-12 20:59:31 -04:00
Léo Lam and GitHub
f19da1cf92
Merge pull request #10118 from lioncash/messageid
...
NetPlayProto: Remove lots of casts to MessageId when inserting enum values into packets
2021-10-13 02:27:52 +02:00
Léo Lam and GitHub
13b84c93c2
Merge pull request #10150 from shuffle2/mgba-update
...
update mgba submodule
2021-10-13 02:17:28 +02:00
Léo Lam and GitHub
dd936c5072
Merge pull request #10126 from malleoz/l-r-digital-input-display
...
Include digital L and R buttons in Input Display
2021-10-13 02:06:20 +02:00
Léo Lam and GitHub
a9e2c858eb
Merge pull request #10151 from JosJuice/android-advanced-graphics
...
Android: Add the advanced graphics settings to the GUI
2021-10-13 02:01:51 +02:00
Léo Lam and GitHub
c746040112
Merge pull request #10154 from malleoz/disable-hotkeys-on-mapping-window
...
MappingWindow: disable hotkeys while window is active
2021-10-13 01:58:48 +02:00
Léo Lam and GitHub
0315fcf934
Merge pull request #10155 from malleoz/toggle-hotkeys-on-qfiledialog
...
Disable hotkeys on static QFileDialog calls
2021-10-13 01:48:31 +02:00
Léo Lam and GitHub
c2d17f3f17
Merge pull request #10160 from fpdotmonkey/heed-renderwidget-switch-warning
...
Fix switch warning in RenderWidget
2021-10-13 01:44:24 +02:00
Léo Lam and GitHub
cac74f0733
Merge pull request #10157 from dreamsyntax/ida-7.x-scripts
...
Tools: Add IDA Save/Load Dolphin Map Scripts for 7.x
2021-10-13 01:41:32 +02:00