Rukai
1b65adcd56
Fully remove wii remote netplay UI code and remove reference to WiimoteReal in NetPlayClient.cpp
2016-03-02 21:02:15 +11:00
Dolphin Bot
ab50dd1926
Merge pull request #3667 from RisingFog/fix_savestates
...
Fix savestates if a device is changed after a savestate is made
2016-03-01 15:35:09 +01:00
Ryan Houdek
36b476ed76
Merge pull request #3683 from Sonicadvance1/aarch64_fix_fcmp
...
[AArch64] Fix fcmp.
2016-03-01 09:29:56 -05:00
Ryan Houdek
344a4ddc9b
Merge pull request #3685 from degasus/arm
...
JitArm64: Optimize addi
2016-03-01 09:29:42 -05:00
Chris Burgener
7991605ad9
Fix savestates if a device is changed after a savestate is made
2016-03-01 09:28:04 -05:00
Pierre Bourdon
392051bd69
Merge pull request #3679 from JosJuice/seek-log-sign
...
DVDInterface: Log seek offsets with a more intuitive sign
2016-02-29 16:49:39 +01:00
degasus
e2725792d4
JitArm64: Optimize addi
2016-02-29 08:39:24 +01:00
degasus
4478146c80
JitArm64: Split addi from arith_imm.
...
They ARM assembly has different immediate versions for logic and additions, so there is no use in merging those instructions.
2016-02-29 08:39:14 +01:00
Chris Burgener
b1c8198cec
Move SetData logic to within SysConf.cpp
2016-02-28 19:42:15 -05:00
Ryan Houdek
abaa8fc24d
[AArch64] Fix fcmp.
...
Fixes Luigi's head vanishing. Was due to a mishandling of nans.
Confirmed fixed by hardware test.
2016-02-28 13:15:47 -06:00
degasus
68defb72a3
JitArm64: Don't generate the carry if it's not used any more.
2016-02-27 21:27:29 +01:00
JosJuice
9427d6efb9
DVDInterface: Log seek offsets with a more intuitive sign
2016-02-27 15:20:49 +01:00
Pierre Bourdon
1b37b39d64
Merge pull request #3673 from mmastrac/dvd_nobackwardsbuffer
...
[DVD] Ignore buffer when seeking backwards
2016-02-26 13:14:47 +01:00
Pierre Bourdon
1d07fee367
Merge pull request #3432 from stenzek/bba-tap-win
...
EXI: Refactor Windows BBA-TAP interface to a read thread, crash fixes, cleanups
2016-02-26 12:46:20 +01:00
mathieui
4fe2886c2c
[netplay] Use the device only if it’s a gc controller or similar
...
(bad things could happen if we wire up the gba with netplay)
2016-02-25 22:58:21 +01:00
mathieui
7b2c54ad93
[Movie] allow recording with any pad
...
(bongo/dancemat/adapter…)
2016-02-25 22:58:21 +01:00
mathieui
d61ef9a95a
[SI] add a way to check if the current controller is a gcpad
...
(or gcpad-compatible)
2016-02-25 22:58:17 +01:00
Matt Mastracci
f1a5d6c104
[DVD] Ignore buffer when seeking backwards
...
Unfortunately this fix re-breaks Arc Rise Fantasia, so we must restore its INI as well.
2016-02-25 12:09:25 -07:00
degasus
3286bbd9bd
JitArm64: Track single precision in ps_sel.
2016-02-25 19:47:07 +01:00
degasus
141e299161
JitArm64: Track single precision in fctiwzx.
2016-02-25 19:47:07 +01:00
degasus
e0793a274f
JitArm64: Track singles in fselx.
2016-02-25 19:47:07 +01:00
degasus
b4d0307b25
JitArm64: Remove LoadTo* helpers.
2016-02-25 19:47:07 +01:00
degasus
2112d8dfda
JitArm64: Replace REG_IS_LOADED with REG_LOWER_PAIR
2016-02-25 19:47:07 +01:00
degasus
c30a66b2d5
JitArm64: Track singles in fabs.
2016-02-25 19:47:07 +01:00
degasus
84395b65f6
JitArm64: Track singles in psq_st.
2016-02-25 19:47:06 +01:00
degasus
fe87462be8
JitArm64: Track singles in stfs.
2016-02-25 19:47:06 +01:00
degasus
5fad3d94a0
JitArm64: Track singles in fcmpX.
2016-02-25 19:47:06 +01:00
degasus
c8948ff8c7
JitArm64: Track single precision in ps_maddXX.
2016-02-25 19:47:06 +01:00
degasus
7fd68c8761
JitArm64: Track singles in ps_sumX.
2016-02-25 19:47:06 +01:00
degasus
ca091b9e92
JitArm64: Track single precision in ps_res.
2016-02-25 19:47:06 +01:00
degasus
d185d2f704
JitArm64: Track singles in ps_mulsX.
2016-02-25 19:47:06 +01:00
degasus
6572790d8b
JitArm64: Track singles in ps_mergeXX.
2016-02-25 19:47:06 +01:00
degasus
5506295123
JitArm64: Track singles in frspx.
2016-02-25 19:47:06 +01:00
degasus
0efdd5cacd
JitArm64: Track singles in paired fp_logic.
2016-02-25 19:47:06 +01:00
degasus
003288a886
JitArm64: Track singles in fp_arith.
2016-02-25 19:47:05 +01:00
degasus
ae1b5ff9e8
JitArm64: Track single precision in load/store.
2016-02-25 19:47:05 +01:00
degasus
1e59dc1025
JitArm64: Single precision tracking.
2016-02-25 19:47:05 +01:00
Chris Burgener
4aa6f6c812
Apply Wii Settings on Movie Recording/Playback
2016-02-24 21:22:37 -05:00
Ryan Houdek
0e7401f350
Merge pull request #3639 from ASSympt0te/toggle-frame-limit-changes-fixes
...
Reword "Toggle Frame Limit" to better explain function
2016-02-24 12:15:11 -05:00
Sintendo
00cc59e83a
VideoInterface: Fix comment typo
2016-02-21 09:39:01 +01:00
Tillmann Karras
3b2e170f0b
Interpreter: simplify subtable handling
2016-02-20 02:20:41 +00:00
Tillmann Karras
b291b0a7c2
Interpreter: simplify mask helper
2016-02-20 01:03:46 +00:00
Tillmann Karras
af5ff9941a
Interpreter: deduplicate CR0 helper
2016-02-20 01:03:37 +00:00
James Cowgill
db8dbae131
Fix some very minor spelling mistakes
...
Found by Lintian https://lintian.debian.org/
2016-02-19 01:48:10 +00:00
Pierre Bourdon
05f5668bcc
Merge pull request #3591 from phire/VC_widescreen
...
Make all Virtual console games 4:3 (and cleanup GameInis)
2016-02-16 00:41:33 +01:00
blendmaster345
c61625cdd3
Relabel hotkey option for toggle frame limit to better reflect function
2016-02-15 04:11:21 -06:00
Pierre Bourdon
14cdf82a69
Merge pull request #3638 from lioncash/mmio
...
Memmap: Make the MMIO mapping a unique_ptr
2016-02-15 10:29:40 +01:00
Lioncash
b36b10fa78
Memmap: Make the MMIO mapping a unique_ptr
2016-02-15 00:02:00 -05:00
Matt Mastracci
4e6f58d82e
[DVD] Signedness fix in realistic timing path
2016-02-14 14:27:08 -07:00
Ryan Houdek
cafc879b7c
Merge pull request #3617 from degasus/arm
...
JitArm64: Merge FP functions.
2016-02-13 18:57:01 -05:00
Tillmann Karras
797431dda4
MMIO: correct error message
2016-02-13 17:42:24 +00:00
degasus
f259a8d6cf
JitArm64: Merge more stuff into ps_maddXX.
2016-02-12 23:26:47 +01:00
degasus
8b32cd0738
JitArm64: Merge ps_sumX.
2016-02-12 10:09:57 +01:00
degasus
2d8e1bc34d
JitArm64: Merge PS stuff into fp_logic.
2016-02-12 10:09:57 +01:00
degasus
52f9912c46
ArmJit64: Merge FP two operant instructions.
2016-02-12 10:09:57 +01:00
degasus
157404fd1e
JitArm64: Merge ps_mulsX.
2016-02-12 10:09:57 +01:00
degasus
09af32c063
JitArm64: Merge ps_mergeXX.
2016-02-12 10:09:57 +01:00
degasus
1b6d9dfc4e
JitArm64: Merge ps_maddsX.
2016-02-12 10:09:57 +01:00
degasus
19713f7c14
JitArm64: Merge scalar 4-operant instructions.
2016-02-12 10:09:53 +01:00
degasus
9c048bbc36
JitArm64: Also merge 3 way FP-PS instructions.
2016-02-10 17:41:25 +01:00
degasus
83eb1d8c31
JitArm64: Merge 3 way FP instructions.
2016-02-10 17:41:25 +01:00
Aestek
b92a80ba1b
Fix: segfault in NetPlayServer::GetInterfaceListInternal for ifa_addr-less interfaces
...
`NetPlayServer::GetInterfaceListInternal` was crashing dolphin with a segfault when encountering a
network interface without `ifa_addr`.
2016-02-08 21:21:27 +01:00
Ryan Houdek
35d7c2bc78
Merge pull request #3593 from Sonicadvance1/Android_Mayflash_adapter
...
[Android] Implement support for real Wiimotes with the DolphinBar
2016-02-07 15:51:33 -05:00
Ryan Houdek
fe53461611
[Android] Implement support for real Wiimotes with the DolphinBar
...
This is the only way to get Wiimotes working under Android now.
This, just like the Wii U Gamecube Controller Adapter, completely goes around Android's limitations and talks with the device directly through USBManager.
Couple notes.
Continuous scanning must be enabled otherwise the Wiimotes won't be seen.
The UI doesn't expose support for this yet. One must change the Wiimote source and continuous scanning settings manually.
Testing up to two wiimotes in Taiko No Tatsujin, no reason to believe all four won't work.
2016-02-07 05:31:48 -06:00
Ryan Houdek
19cd9ecf16
Fix a few missing includes
2016-02-05 10:50:08 -06:00
Scott Mansell
baad10593e
GameInis: Allow one ini to cover all VC games for a console
...
Since all Virtual console releases use the same emulator (though there
are multiple revisions some emulators) and generally need the same
setting, this commit allows the creation of INI files which cover all
Virtual Console games fow each system.
For example, F.ini can provide settings that all NES games have in common
and C.ini will provide settings for all Commadore 64 games.
If needed, a 3 letter ini can override settings for individual games.
2016-02-05 17:35:13 +13:00
Stenzek
98e5270b3c
EXI: Use unique_ptr in CEXIEthernet
2016-01-31 23:52:43 +10:00
Stenzek
e75d37ec36
EXI: Fix crash when loading save states with BBA activated
2016-01-31 23:52:40 +10:00
Stenzek
ccc70a98f3
EXI: Refactor BBA-TAP interface for Windows to use a read thread
...
This also has the added benefit of not crashing under most circumstances.
Includes a few other changes, including replacing the atomic<bool> with a
Flag, as well as adding a flag for indicating read thread shutdown.
2016-01-31 23:52:33 +10:00
Pierre Bourdon
c2c1f839dd
Merge pull request #3574 from palxex/master
...
fix El Capitan WiimoteReal pairing problem and refresh crash problem
2016-01-30 13:17:08 +01:00
Pierre Bourdon
50221088a9
Merge pull request #3576 from lioncash/boot
...
BootManager: Minor changes
2016-01-30 13:14:52 +01:00
Pierre Bourdon
9da8593cf4
Merge pull request #3569 from mathieui/netplay-gcpad-position
...
[netplay] Fix a regression
2016-01-30 11:54:31 +01:00
Pierre Bourdon
ff5d6887d1
Merge pull request #3575 from mathieui/netplay-server-cleanup
...
Small netplay server cleanup & fix
2016-01-30 11:51:50 +01:00
mathieui
c7750b287d
netplay: default the local pad to a gc controller
...
if the configured local pad is none, it will make dolphin behave
incorrectly (due to the game expecting inputs from the device while it
doesn’t exist).
2016-01-28 20:24:18 +01:00
Pal Lockheart
ea44e0e3ba
fix El Capitan WiimoteReal pairing problem and refresh crash problem
2016-01-28 14:29:44 +08:00
mathieui
4529930f91
gcadapter: fix an incorrect mapping for non-local devices
...
Remote devices would always enter an error path and get disconnected
from the gamecube, breaking netplay in the process.
Culprit is still InGamePadToLocalPad
2016-01-28 02:46:58 +01:00
mathieui
b9b4a0c530
gcadapter: set the konga setting properly
...
if it was used in netplay, it would read memory out of bounds
(due to the mapping method returning 4 if the device was remote) which
was 0 more often than not, causing the device in this position to be a konga.
(which may or not be the gcadapter due to the swap between local and
ingame controllers)
2016-01-28 02:39:55 +01:00
degasus
a4a2928905
FifoPlayer: Sleep while high watermark is set.
2016-01-27 07:23:17 +01:00
Lioncash
d7d0673900
BootManager: Vertically align where sensible to do so
2016-01-26 20:54:22 -05:00
Lioncash
0c920f175f
BootManager: Simplify SaveConfig
...
Also std::array-ifies C-array members of ConfigCache
2016-01-26 20:52:57 -05:00
mathieui
aaf2be2044
bootmanager: update the supposed-end-of-enum
...
fixes a bug where gcadapter would fuck up netplay
2016-01-27 01:43:38 +01:00
mathieui
24cb6487d4
[netplay] Fix a regression
...
Introduced in 6e13496d8
, pads would get assigned to their netplay
position, which breaks assumptions. With this behavior, the SI devices
should be mapped properly.
2016-01-27 01:43:31 +01:00
mathieui
8ce9191948
NetPlayServer: Make SendAsyncToClients use an unique_ptr
2016-01-27 01:34:03 +01:00
mathieui
34ae512d91
NetPlayServer: Make pad data unpacking nicer to read
2016-01-27 01:34:03 +01:00
mathieui
1c808a2835
NetPlayServer: Possible out-of-bounds access on invalid input
...
if a pad or wiimote number was outside bounds (e.g. 42353543232),
it would still have been read from the array, which could lead to
inappropriate consequences, like a segfault.
2016-01-27 01:33:50 +01:00
mathieui
8e1be37feb
NetPlayServer: in-class initialization
2016-01-27 01:20:44 +01:00
degasus
159d83c5a9
FifoPlayer: Use more enums.
2016-01-26 19:19:21 +01:00
Mathew Maidment
48e7e5b72e
Merge pull request #3567 from lioncash/netplay
...
NetPlayClient: Minor changes
2016-01-25 05:13:54 -05:00
Mathew Maidment
ee0fbdf087
Merge pull request #3558 from lioncash/dvd-global
...
DVDInterface: Reduce a global variable to translation unit scope
2016-01-25 05:13:08 -05:00
Lioncash
c434b5b3a9
NetPlayClient: Use std::array instead of C arrays for buffers
2016-01-25 04:57:21 -05:00
Lioncash
7304c863a6
NetPlayClient: Deduplicate code for player list retrieval
2016-01-25 04:57:20 -05:00
Lioncash
e6ad76fa70
NetPlayClient: Extract control mapping checking to its own function
2016-01-25 04:57:19 -05:00
Lioncash
8588c8fd31
NetPlayClient: Make SendAsync take a unique_ptr as a parameter
2016-01-25 04:57:18 -05:00
Lioncash
c2deb337aa
NetPlayClient: In-class initialize variables where possible
2016-01-25 04:57:17 -05:00
Lioncash
1d8ff504a5
NetPlayClient: Make m_state private
...
Also turns it into an enum class.
2016-01-25 04:57:16 -05:00
Lioncash
102672a797
NetPlayClient: Make is_connected private
...
This is only queried, there's no need to expose it for writing.
Even if it was written to, a data member shouldn't be part of
your public API unless its part of a dumb object or trivial struct.
2016-01-25 04:57:04 -05:00
Lioncash
d9f87b8030
NetPlayClient: Remove unnecessary includes
...
Replace with needed ones
2016-01-24 21:46:49 -05:00
Lioncash
90f2f48ef6
DVDInterface: Use correct prefix for static local variables
2016-01-24 17:24:33 -05:00
degasus
4295751662
Fifo: More comments for SyncGPU functions.
2016-01-24 11:06:01 +01:00
degasus
cf4478dc92
Fifo: Fix SyncGPU.
...
CBoot::BootUp() did call CoreTiming::Advance which itself blocks on the GPU,
but the GPU thread wasn't started already. This commit moves the SyncGPU
initialization into the Fifo.cpp file and call it after BootUp().
2016-01-24 11:06:01 +01:00
Lioncash
a2dc22f016
DVDInterface: Make a global a local variable
2016-01-23 18:40:55 -05:00
mathieui
5e709f3d72
[netplay] Use the local type of each SI device
...
Instead of using SI_GCcontroller which would make it not work with gc
adapters, bongos, and other stuff.
Trying to fix issue #9263
2016-01-23 17:29:07 +01:00
Ryan Houdek
ae4c7661d6
Merge pull request #3212 from mickdermack/pr-recalc-flags
...
JIT x64: Recalculate flags after add/sub
2016-01-22 12:45:52 -05:00
Lioncash
fdf6fb47e0
VideoInterface: specify internal linkage on local variable
2016-01-21 19:25:21 -05:00
Ryan Houdek
7c3e4b34f3
Merge pull request #3541 from Sonicadvance1/fix_netplay_option_sending
...
Stops netplay clients from failing to send settings on game start
2016-01-21 08:51:11 -05:00
Ryan Houdek
1a20772ccd
Stops netplay clients from failing to send settings on game start
...
Clients have no need to send their configuration information on start and the server straight out ignores it.
Not to mention it shouldn't try sending a struct as a null terminated string.
Cleans up how the server sends the configuration slightly as well.
2016-01-21 07:20:21 -06:00
Lioncash
82147f42af
VideoInterface: Correct namespace indentation
2016-01-21 00:40:01 -05:00
Lioncash
f45e1bff37
VideoInterface: Change a global into a translation-unit local variable
2016-01-21 00:39:24 -05:00
Pierre Bourdon
e455ca4d58
Merge pull request #3535 from RisingFog/cya_savestate_memleak
...
Properly clear JIT cache on save states
2016-01-20 18:02:25 +01:00
Chris Burgener
a7a744d33c
Properly clear JIT cache on save states
2016-01-20 11:20:15 -05:00
Lioncash
42e9927bca
VideoInterface: Fix code style/indentation
2016-01-19 20:16:18 -05:00
Pierre Bourdon
991d3f6f96
Merge pull request #3525 from lioncash/ptr
...
DSPEmulator: Make CreateDSPEmulator return a unique_ptr
2016-01-19 23:54:58 +01:00
Ryan Houdek
7b9eeba168
Merge pull request #3479 from Sonicadvance1/fix_hotkeys
...
Fix hotkeys not reporting inputs.
2016-01-19 02:15:25 -05:00
Ryan Houdek
f73961663e
Fix a typo on the size passed in to the IPL descrambler.
...
Fixes issue #6081
2016-01-18 04:30:30 -06:00
Lioncash
2ff5923334
DSPEmulator: Make CreateDSPEmulator return a unique_ptr
2016-01-17 22:33:21 -05:00
Lioncash
d9fec92628
VideoCommon: Header cleanup
...
Also remedies places where the video backends and core rely on things
being indirectly included.
2016-01-17 20:11:45 -05:00
Mathew Maidment
87464d432b
Merge pull request #3501 from rohit-n/build-pch
...
Fix building with PCH disabled.
2016-01-13 21:07:51 -05:00
Lioncash
f2038b9e90
HW: Remove unnecessary header inclusions
2016-01-13 02:47:32 -05:00
Pierre Bourdon
8f8134f5f4
Merge pull request #3504 from degasus/master
...
VideoBackend: Cleanup API a bit.
2016-01-13 01:27:24 +01:00
degasus
5f244abf28
Fifo: Create a "Fifo" namespace.
2016-01-12 23:28:26 +01:00
degasus
c3481a576b
VideoBackend: Remove simple wrapper functions.
2016-01-12 23:28:26 +01:00
degasus
0c92603fd5
Merge VideoBackendHardware into VideoBackend.
...
And rename it to VideoBackendBase because of conflicts within the backends itself.
2016-01-12 23:18:58 +01:00
Lioncash
f8fcceb99e
Jit: Get rid of indirect includes
2016-01-12 00:12:36 -05:00
Rohit Nirmal
f9837d4447
Fix building with PCH disabled.
2016-01-11 13:20:47 -06:00
Pierre Bourdon
68094171f8
Merge pull request #3489 from lioncash/interp
...
Interpreter: Remove unnecessary includes from Interpreter.h
2016-01-11 12:43:25 +01:00
Pierre Bourdon
84c4f75aeb
Merge pull request #3498 from lioncash/global
...
MemTools: Get rid of a global variable
2016-01-11 12:43:01 +01:00
Pierre Bourdon
7c6fe11348
Merge pull request #3499 from lioncash/hle
...
HLE: Move static variable out of header
2016-01-11 12:42:48 +01:00
Lioncash
984fc7fb39
ARM Jit: Use std::tie for SlowmemHandler comparison
2016-01-11 04:28:16 -05:00
Lioncash
846c904624
HLE: Move static variable out of header
...
It's only ever used in the implementation file.
2016-01-11 04:11:12 -05:00
Lioncash
b688a62143
MemTools: Get rid of a global variable
2016-01-11 03:24:03 -05:00
Lioncash
d9a16f7c9c
Interpreter: Remove unnecessary includes from Interpreter.h
...
Previously the JIT code relied on indirect inclusion from this header,
this gets rid of that.
2016-01-10 18:51:12 -05:00
Lioncash
986108715d
JitInterface: Get rid of a global variable
2016-01-09 14:57:50 -05:00
Ryan Houdek
54e4d90b6d
Fix assert on reset button hit.
...
Fixes issue 9225.
2016-01-09 11:23:22 -06:00
Pierre Bourdon
5db10d83f7
Merge pull request #3477 from mmastrac/memorywatcher_crash
...
MemoryWatcher: Initialize m_running
2016-01-09 16:11:42 +01:00
Ryan Houdek
6862d7c7b2
Fix hotkeys not reporting inputs.
2016-01-08 23:25:36 -06:00
Pierre Bourdon
39971ec039
Merge pull request #3472 from phire/TVs_dont_have_pixels
...
Rework the aspect ratio calculation (Fixes 240p mode)
2016-01-09 04:27:16 +01:00
Scott Mansell
c49a82bf0a
Rework aspect ratio calculations.
...
They are now based on signal timings rather than pixels, as it
didn't make a lot of sense to do things with pixels.
Now handles all 240i/240p/480i/480p modes without any special
casing.
Despite the diffrent equaions, this should result in the exact same aspect
ratio as the previous code.
2016-01-09 14:30:46 +13:00
Pierre Bourdon
bf1c53a6e8
Merge pull request #3451 from RisingFog/libav
...
Use ffmpeg for Windows Video Dumping instead of VFW
2016-01-09 01:01:05 +01:00
Matt Mastracci
a60b24c937
MemoryWatcher: Initialize m_running to false to prevent crashes on OSX in the dtor when it picks up the wrong initial value
2016-01-08 12:20:35 -07:00
Scott Mansell
9c0dae47ca
Normalize aspect ratio calculations to 4:3
...
Video Interface simply isn't aware about widescreen.
Instead, the render class can multiply by 1.3333333 to get
the 16:9 aspect ratio.
2016-01-08 13:31:48 +13:00
Chris Burgener
c34fb3edf0
Use ffmpeg for Windows Video Dumping instead of VFW
2016-01-07 18:37:58 -05:00
mathieui
40c7a2fb7d
Use the current commit hash in the netplay version
...
So that it contains the current commit and not an arbitrary date that
may or may not be up-to-date. This will cause tears as people will not
be able to use netplay with one diverging commit that does not touch
anything related. On the other hand, users can’t be trusted.
2016-01-07 00:17:05 +01:00
Ryan Houdek
342496563d
Merge pull request #3455 from Sonicadvance1/GC_adapter_android
...
[Android] Add support for the Wii U Gamecube adapter under Android.
2016-01-06 15:07:09 -05:00
booto
a1db1a2082
SI: Base SI sampling on VSync & horiz lines
2016-01-06 23:47:20 +08:00
Ryan Houdek
6e503bebc4
Add a stubbed GCAdapter namespace.
...
This cleans up a bunch of #ifdef checks in places.
2016-01-06 00:57:08 -06:00
Ryan Houdek
1dcc199a63
Fix GCPad recalibration shortcut.
...
Dolphin has supported the recalibration shortcut (X+Y+Start) for quite a long while. So if someont's axises are terrible, you could easily
recalibrate.
Games even get the initial calibration upon boot(Most of the time).
While changing over the GCAdapter code, I was testing to make sure the reset and calibration shortcuts still worked, turns out they didn't work at
all.
Looking in to the problem, we capture the combination properly, and we wait three seconds until we actually fire that off recalibration.
The problem is for Nintendo's SDK to properly handle recalibrating, we need to send back data saying that it needs to recalibrate.
On hardware this is done as part of the 64bits of data the controller sends back to us.
On holding of the controller, bit 61 of the return value is set, which the Nintendo SDK catches, and then signals immediately afterwards a CMD_ORIGIN
command in order to recalibrate the controller.
We were outright ignoring this bit, so the library wasn't ever recalibrating. I suspect in the past the class itself used to use the calibration data
to to offset the data, but somewhere along the lines it got munged out of existence.
The Gamecube adapter does this shortcut in a bit of a unique way, instead of sending the command and having the library support it and what have you.
Once holding the shortcut for the amount of time, the adapter reports back that the controller has actually been disconnected. Then when you let go of
the combination, the adapter states that a new device has been connected to that port, and the recalibration happens because a new device is
"connected."
This fixes controller calibration for both emulated GC controllers and also the Wii Gamecube Adapter.
2016-01-06 00:41:00 -06:00
degasus
3ff4ec275a
Throttler: Rename "framelimiter" to "emulation speed".
...
We don't throttle by frames, we throttle by coretiming speed.
So looking up VI for calculating the speed was just very wrong.
The new ini option is a float, 1.0f for fullspeed.
In the GUI, percentual values are used.
2016-01-05 23:39:05 +01:00
Ryan Houdek
49410576e9
Make the Wii U Gamecube adapter work with less magic.
...
The Wii U Gamecube controller adapter setup has always been a bit weird. It tries to be as automatic as possible to make the user experience as easy
as possible.
The problem with this approach is that it brings a large disconnect in the user experience because you have the Gamecube controller setup with regular
gamepads and then for some reason below that you have a "direct connect" option which will cause the Gamecube Adapter to overwrite the regular inputs
if something was connected.
While this works and allows the user to only click one checkbox to get the device working, it breaks the user's experience because they don't really
know what "direct connect" means and won't look it up to figure out what it is. Just expecting the device to work (At least one occurence of this in
the IRC channel in the last week).
This way around also had the terrible nature of making the code more filthy than it needed to be. The GCAdapter namespace was parasitic and hooked in
to the regular GC Controller SI class to overwrite the data that it was getting from the default configuration.
Now instead we have a specific SIDevice class for the Wii U Gamecube adapter. This class is fairly simple and is a child of the regular SI Gamecube
Pad device and only reimplements what it needs to.
This also gives the ability to configure controllers individually, which allows the user to configure rumble individually per pad input.
Overall the code is cleaner, and it fits more in line with how the rest of Dolphin works.
2016-01-05 13:44:37 -06:00
Ryan Houdek
371e9f4fae
Move SI_GCAdapter over to InputCommon
2016-01-05 13:44:37 -06:00
Ryan Houdek
14e6720f22
Fix warning in VideoInterface
2016-01-05 11:54:04 -06:00
Ryan Houdek
e8e0ad3e52
Merge pull request #3408 from Tilka/fcmp
...
JitArm64: fix fcmpo/fcmpu
2016-01-04 22:19:32 -05:00
Ryan Houdek
b00bb300e5
Merge pull request #3447 from degasus/arm
...
JITArm64: Single precision + FPRF
2016-01-04 22:09:44 -05:00
jake8
cc8aeec58c
Added hotkey for toggling the crop setting
2016-01-04 10:10:49 -05:00
Ryan Houdek
a898aa1585
Merge pull request #3436 from endrift/fix-libusb
...
HW: Fix libusb support for older libusb APIs
2016-01-03 12:35:08 -05:00
Ganael Laplanche
fb3b1e4eb0
Add missing header for sprintf()
2016-01-03 01:30:39 -08:00
Jeffrey Pfau
d4e2c9fa98
HW: Fix libusb support for older libusb APIs
2016-01-03 00:53:31 -08:00
skidau
96d8ea5537
Merge pull request #3415 from rabbott99/movie-end-pause
...
Movie: Fix "Pause at End of Movie" for wii games
2016-01-02 09:08:06 +11:00
Rohit Nirmal
76333b388f
Fix building with PCH disabled.
2016-01-01 10:26:15 -06:00
Ryan Houdek
f836e5937f
Merge pull request #3422 from Sonicadvance1/Linux_bba_bridge
...
Support multiple bridge interfaces in Linux.
2016-01-01 04:23:06 -05:00
Ryan Houdek
454ebb7150
Merge pull request #3417 from aserna3/remove_salt_button
...
[Netplay] Disabled loading savestates
2016-01-01 04:02:43 -05:00
Ryan Houdek
4e22bab71d
Support multiple bridge interfaces in Linux.
...
This allows you to run multiple instances of Dolphin that touch the BBA (Up to a 32 interface limit)
2016-01-01 02:51:31 -06:00
Scott Mansell
5cd4619a1d
Merge pull request #3413 from spxtr/follow-pointers
...
Allow MemoryWatcher to follow pointers
2016-01-01 21:45:44 +13:00
Rohit Nirmal
a551e8adbb
Fix building with PCH disabled.
2016-01-01 02:32:53 -06:00
Anthony Serna
42c38cbbd3
Blocked netplay users from desyncing by messing with savestates.
2015-12-31 18:50:45 -06:00
rabbott99
d2ef903d1a
Movie: Fix "Pause at End of Movie" for wii games.
...
InputUpdate() is never called during wii playback, so the pause never
executed.
2015-12-30 23:11:40 -05:00
spxtr
525fc4fe8a
Allow MemoryWatcher to follow pointers
2015-12-30 19:10:31 -08:00
booto
d9e921cc2c
VI: set the JP bit of VI's DTV reg when needed
...
The "Force NTSC-J" option was broken by 480dbb22f2
(i.e. field-timing). A side effect of this was that it exposed a bug
where the JP region bit of VI's DTV reg was not automatically set for wads
from the JP region.
2015-12-31 05:36:29 +08:00
Scott Mansell
afde6ae72c
Merge pull request #3403 from spxtr/reporter
...
Add support for sending game memory changes to outside processes
2015-12-30 15:17:47 +13:00
spxtr
2f50560602
Add support for sending game memory changes to outside processes
2015-12-29 17:59:16 -08:00
Lioncash
4bc7c0c5a8
DSPCore: Prefix globals with g_
2015-12-29 10:40:44 -05:00
Lioncash
78565fabbc
DSPCore: Make the DSP emitter global a unique_ptr
2015-12-29 10:29:02 -05:00
skidau
c16c2d9356
Merge pull request #3393 from rabbott99/desync-fix
...
Movie: Reset wiimotes at at start of recording/playback to fix desync issues
2015-12-29 11:58:03 +11:00
rabbott99
9e54cf80c2
Movie: Reset wiimotes at at start of recording/playback,
...
to prevent desync issues which occur when the a game has been opened beforehand
2015-12-28 19:44:42 -05:00
skidau
5fefc1fd79
Merge pull request #3375 from mbc07/IPLfonts
...
Always load system fonts from IPL dump, if available
2015-12-29 11:21:03 +11:00
skidau
d3d0aa69ce
Merge pull request #3397 from skidau/dsp-acc-loop-end
...
Catered for the case where ADPCM audio would loop before the end of the stream
2015-12-29 10:21:12 +11:00
Markus Wick
aabcd441d9
Merge pull request #3381 from Armada651/revert-3076
...
Revert "Merge pull request #3076 from void-ghost/stereo3d_presets"
2015-12-28 10:18:32 +01:00
Scott Mansell
790a836736
FifoAnalyzer: Fix a few warnings that visual studio missed.
2015-12-28 20:20:30 +13:00
Scott Mansell
52d6a7505a
Merge pull request #3239 from phire/cleanup-fifo-analyzers
...
Cleanup fifo analyzers (and fix major bugs with fifo recording)
2015-12-28 11:14:09 +13:00
skidau
5555822ca2
Catered for the case where ADPCM audio would loop before the end of the stream. Patch by hk.konpie.
2015-12-26 22:57:43 +11:00
Mateus B. Cassiano
7f1fe7a6cb
Always load system fonts from IPL dump, if available
2015-12-24 15:57:54 -03:00
Scott Mansell
0216879d3e
Revert "Config Hotfix: Prevent per-game settings (ie. GameINI) being stored to the global user configuration."
2015-12-24 18:25:22 +13:00
Rohit Nirmal
4163ab6a0e
Fix building with PCH disabled.
2015-12-23 09:54:33 -06:00
Jules Blok
8bda12bcfd
Revert "Merge pull request #3076 from void-ghost/stereo3d_presets"
...
This reverts commit 81414b4fa2
, reversing
changes made to b926061f64
.
Conflicts:
Source/Core/DolphinWX/Frame.cpp
Source/Core/VideoCommon/VideoConfig.cpp
Source/Core/VideoCommon/VideoConfig.h
2015-12-23 00:35:19 +01:00
Mathew Maidment
1b69743ba1
Merge pull request #3362 from lioncash/memory
...
NANDContentLoader/WiiWAD: Get rid of raw delete and new
2015-12-22 06:39:12 -05:00
Scott Mansell
ce6de78854
Merge pull request #3250 from JosJuice/loadgameini-condition
...
BootManager: Remove unnecessary LoadGameIni condition
2015-12-22 13:24:09 +13:00
JosJuice
1b946c2ff3
BootManager: Remove unnecessary LoadGameIni condition
2015-12-22 00:54:54 +01:00
Scott Mansell
a691e1fb6d
Merge pull request #2621 from AdmiralCurtiss/config-cache-methods
...
BootManager: Slightly clean up the config_cache.
2015-12-22 12:52:16 +13:00
Admiral H. Curtiss
4d2e9abba7
BootManager: Slightly clean up the config_cache stuff by pulling the save and restore into their own methods.
2015-12-22 00:30:25 +01:00
Admiral H. Curtiss
3149140052
Config: Hotfix to prevent per-game settings from ie. GameINIs being stored to the global user configuration.
2015-12-22 00:16:29 +01:00
Rohit Nirmal
aaa89d4f73
Silence -Wshadow and -Wmaybe-uninitialized warnings.
2015-12-21 10:06:07 -06:00
Lioncash
cbeb7034eb
Volume: Make GetTMD return a vector
2015-12-19 18:00:44 -05:00
Lioncash
c78c54c546
NANDContentLoader/WiiWAD: Get rid of raw delete and new
2015-12-19 17:37:09 -05:00
degasus
94ae134bf4
Real Wiimote: Don't delay speaker data.
2015-12-17 23:48:43 +01:00
Tillmann Karras
659b42b614
JitArm64: simplify fcmpX
2015-12-16 21:17:36 +01:00
Tillmann Karras
94f0e2493c
JitArm64: fall back if FPSCR is used
2015-12-16 21:17:36 +01:00
Tillmann Karras
84b1e22246
PowerPC: rename fcmpx to fcmpX
...
lowercase: optional Rc bit
uppercase: generic placeholder
2015-12-16 21:17:36 +01:00
Tillmann Karras
d3dfdf7767
Interpreter: don't always set FPSCR.FX on NaNs
...
FPSCR.FX must only be set if an exception bit changes from 0 to 1.
SetFPException() already handles this correctly.
2015-12-16 21:17:36 +01:00
Markus Wick
25a584626f
Merge pull request #3127 from JosJuice/read-return
...
DiscIO: Improve error handling for reading integers
2015-12-15 18:16:40 +01:00
Markus Wick
e4b83d17bf
Merge pull request #3270 from JosJuice/more-translations
...
Mark more strings for translation
2015-12-15 18:13:26 +01:00
Markus Wick
3e2ac3df43
Merge pull request #3292 from JosJuice/state-str
...
State: Don't use memcpy and memcmp with strings
2015-12-15 17:42:35 +01:00