iwubcode
425ee13d35
FreeLook: update camera and manager to use a delta time for movement (in case we decide to move this somewhere else in the future)
2021-03-18 17:54:12 -05:00
iwubcode
f1ce921844
DolphinQt: update FreeLook to use relative input
2021-03-17 20:58:33 -05:00
iwubcode
ddba5a3dfa
DolphinQt: Add separate Free Look tab for rotation
2021-03-17 20:58:33 -05:00
iwubcode
d53ab32506
FreelookManager: Add gyro to support either keyboard/gamepad binding or motion based controllers
2021-03-17 20:58:33 -05:00
iwubcode
80cf87158e
VideoCommon: update FreeLook camera to add quaternion based rotation, fix orbital and fps implementations
2021-03-17 20:58:33 -05:00
iwubcode
8055919905
InputCommon: Allow for partial gyro mapping; for Free Look, this allows you to only pitch or only yaw
2021-03-17 20:58:33 -05:00
iwubcode
db4b4e40cb
InputCommon / DolphinQt / Core: Add a "RelativeMouse" input which provides the raw delta mouse input
...
Co-authored-by: Jordan Woyak <jordan.woyak@gmail.com>
2021-03-17 20:58:33 -05:00
iwubcode
679d51c289
RenderWidget: Remove mouse based Free Look since it has moved to the HotkeyScheduler
2021-03-17 20:58:33 -05:00
iwubcode
602cb39101
Common: Add function to get Euler angles from a Quaternion
2021-03-17 20:58:33 -05:00
JosJuice
a45a0a2066
Merge pull request #9494 from Dentomologist/convert_arm64reg_to_enum_class
...
Arm64Gen: Convert ARM64Reg to enum class
2021-03-17 00:05:23 +01:00
Léo Lam
f44f20560d
Merge pull request #9573 from JosJuice/volumeverifier-cancel-crash
...
VolumeVerifier: Fix potential crash when cancelling
2021-03-16 11:10:47 +01:00
Léo Lam
b7f931fc6b
Merge pull request #9570 from JosJuice/wia-partial-exception-list
...
DiscIO: Fix reading certain WIA chunks with many exceptions
2021-03-16 11:10:12 +01:00
Léo Lam
c8d8f9ef85
Merge pull request #9577 from JosJuice/di-unknown-size-hack
...
DVDInterface: Make the WBFS/CISO hack only affect WBFS/CISO
2021-03-16 11:03:36 +01:00
Léo Lam
3fcc018fa7
Merge pull request #9588 from JosJuice/jitarm64-srawx-a-s
...
JitArm64: Improve srawx special case carry calculation
2021-03-16 10:40:10 +01:00
Léo Lam
f36b1cbb2a
Merge pull request #9541 from InusualZ/detecting-rso
...
Symbols: Fix RSO Modules detection algorithm
2021-03-16 10:33:58 +01:00
Léo Lam
b980dd1385
Merge pull request #9580 from MetroidPrimeModding/redundant-update-trigger-check
...
[Updater] Check whether we've already had an update triggered
2021-03-16 10:19:54 +01:00
Léo Lam
646bdc9459
Merge pull request #9583 from michaelszubartowicz/master
...
Fix loading save states with bluetooth passthrough
2021-03-16 10:12:49 +01:00
Léo Lam
9a3e752021
Merge pull request #9558 from iwubcode/dsu-multi-server-avoid-blocking
...
InputCommon: block on DSU servers collectively instead of individually
2021-03-16 10:12:32 +01:00
Léo Lam
5cea85f008
Merge pull request #9579 from Dentomologist/fix_open_containing_folder
...
Gamelist: Fix 'Open Containing Folder'
2021-03-16 09:52:46 +01:00
michaelszubartowicz
2eb6e21a61
Fix loading save states with bluetooth passthrough
...
When a save state is loaded, the IOS device serving bluetooth
is cast as BluetoothEmuDevice. If, however, a real Wiimote
with BT passthrough is used, this caused the game to crash.
Now the proper device class is used.
2021-03-16 09:48:54 +01:00
Léo Lam
e6d8af3188
Merge pull request #9553 from sepalani/ghidra-tools
...
Tools: Dolphin symbol map ghidra scripts added
2021-03-16 09:47:03 +01:00
Léo Lam
064a00634e
Merge pull request #9590 from JosJuice/android-recreate-main
...
Android: Fix recreating main activity
2021-03-16 09:42:31 +01:00
Léo Lam
13f79321f7
Merge pull request #9574 from Pokechu22/enumformatter-warnings
...
EnumFormatter: fix signed/unsigned comparison warnings
2021-03-16 09:39:42 +01:00
Léo Lam
3b0b221fcf
Merge pull request #9567 from Dentomologist/fix_various_warnings
...
Fix various build warnings
2021-03-16 09:33:01 +01:00
JosJuice
fcb19a228b
Android: Fix recreating main activity
...
4752ec8
broke this because I wasn't aware that a fragment
has to have a constructor with no parameters in order for
activity recreation to work.
2021-03-15 21:44:09 +01:00
JosJuice
c0f840525f
JitArm64: Improve srawx special case carry calculation
...
At a first glance it may look like a part of the code I added to
srawx in efeda3b
has a bug when a == s. The code actually happens
to work correctly, but in the interest of making the code easier
to reason about, I'd like to change the way it's implemented. This
change should improve the pipelining a little in the a == s case too.
2021-03-14 18:55:42 +01:00
Dentomologist
f0f206714f
Arm64Gen: Convert ARM64Reg to enum class
...
Most changes are just adding ARM64Reg:: in front of the constants.
2021-03-13 10:10:59 -08:00
Dentomologist
48273b401e
Gamelist: Fix 'Open Containing Folder'
...
Fix Gamelist context menu item 'Open Containing Folder' opening wrong
target on Windows when game parent folder is [foobar] and grandparent
folder contains file [foobar].bat or [foobar].exe
Add trailing directory separator to parent folder path to force Windows
to interpret path as directory.
Fixes https://bugs.dolphin-emu.org/issues/12411
2021-03-11 12:45:16 -08:00
JosJuice
18d95dfcca
Merge pull request #8316 from CookiePLMonster/wasapi-code-improvements
...
WASAPI code improvements
2021-03-11 21:18:16 +01:00
Phillip Stephens
1dc015cc65
[Updater] Check whether we've already had an update triggered
2021-03-11 02:48:46 -08:00
JosJuice
e47c9764de
DVDThread: Set ReadError instead of BlockOOB for failed reads
...
With DVDInterface catching out-of-bounds reads, we can let
DVDThread use a more accurate error code for situations like
a disk failure.
2021-03-10 00:16:40 +01:00
JosJuice
e2b3aadad7
DVDInterface: Make the WBFS/CISO hack only affect WBFS/CISO
...
21c152f
added a small hack to DVDInterface to keep WBFS and CISO
files working with Nintendo's "Error #001" anti-piracy check.
Unfortunately I don't think it's possible to support WBFS and
CISO without any kind of hack or heuristic, but what we can do
is replace the 21c152f
hack (which applies regardless of file
format) with a hack that only is active when using WBFS or CISO.
This change is similar to 2a5a399
, but the disc size is
calculated in a different way.
2021-03-10 00:16:40 +01:00
JosJuice
7d570f1edb
DiscIO: Move magic constants for discs to DiscUtils
2021-03-10 00:16:37 +01:00
JosJuice
b14bf82732
DiscIO: Move some code from VolumeVerifier to DiscUtils
2021-03-10 00:16:12 +01:00
JosJuice
49ccc77ebb
DiscIO: Move some code from DiscExtractor to new file DiscUtils
2021-03-09 20:34:24 +01:00
InusualZ
c37d826715
Display a progress bar to notify the user, about the work is being done
2021-03-08 16:22:26 +00:00
InusualZ
490db42e44
Fix detecting rso modules
2021-03-08 16:22:26 +00:00
Pokechu22
fa124e657f
EnumFormatter: fix signed/unsigned comparison warnings
2021-03-07 13:54:13 -08:00
JosJuice
72a6fff36c
Translation resources sync with Transifex
2021-03-07 19:24:53 +01:00
Dentomologist
486a25dd2b
Touchscreen: Add override specifiers
...
Fix -Winconsistent-missing-override warnings on Android
2021-03-07 10:10:02 -08:00
Dentomologist
1fd332d3b7
ControllerInterface: Fix unused-result warning
...
Add ! before unused variables to 'use' them.
Ubuntu-x64 emits warnings for unused variables because gcc decides
it should ignore the void cast around them. See thread for discussion:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425
2021-03-07 10:10:02 -08:00
Dentomologist
7ff8e3367f
GraphicsWidget: Remove unused field
...
Fixes warning on freebsd-x64
2021-03-07 10:10:02 -08:00
Dentomologist
fa61fc4f9c
Fix shadowing warnings
...
Fixes type/variable shadowing warnings on debian and ubuntu
2021-03-07 10:10:02 -08:00
Dentomologist
636bf38824
IOS: Add maybe_unused attribute to variables
...
Fixes Wunused-const-variable warning on freebsd-x64 and android
2021-03-07 10:10:00 -08:00
Dentomologist
95c86ee48b
FreeLookCamera: Add override specifiers
2021-03-07 10:10:00 -08:00
Dentomologist
1c71d33ed5
FreeLookCamera: Remove unused variable
2021-03-07 10:10:00 -08:00
Dentomologist
692aaed60c
FreeLookController: Fix signed/unsigned warning
...
Loop index int i was being compared against GetControllerCount() which
returned a size_t. This was the only place GetControllerCount() was
called from so the change of return type doesn't disturb anything else.
Changing the loop index to size_t wouldn't work as well since it's
passed into GetController(), which takes an int and is called from many
places, so it would need a cast anyway on an already busy line.
2021-03-07 10:09:59 -08:00
Dentomologist
686314b548
Arm64Gen: Move constant and make constexpr
...
Namespace-scope variable was only used in one function so move it there
2021-03-07 10:09:59 -08:00
Dentomologist
dffcbcc6c4
Arm64Gen: Remove unused constant
2021-03-07 10:09:59 -08:00
JosJuice
14bfc0be78
DiscIO: Fix reading certain WIA chunks with many exceptions
...
The loop in WIARVZFileReader::Chunk::Read could terminate
prematurely if the size argument was smaller than the size
of an exception list which had only been partially loaded.
2021-03-07 14:14:45 +01:00