Matthew Parlane
3f9a98ddf2
Merge pull request #3979 from JosJuice/use-g_want_determinism
...
Use g_want_determinism more
2016-07-13 18:56:23 +12:00
Matthew Parlane
ebf10d38dd
Merge pull request #3978 from JosJuice/frameskipping-determinism
...
Movie: Fix FrameSkipping determinism condition
2016-07-13 18:54:51 +12:00
Matthew Parlane
4d2df0a8ce
Merge pull request #3989 from JosJuice/insert-sd-thread
...
Don't ScheduleEvent from wrong thread when inserting SD card
2016-07-13 18:44:50 +12:00
Scott Mansell
cb63bacd65
Merge pull request #4006 from EmptyChaos/dqt2-warning
...
DolphinQt2: Startup Warning
2016-07-13 18:27:01 +12:00
EmptyChaos
0efb19e66a
DolphinQt2: Experimental GUI Warning Prompt.
...
Add a GUI prompt to tell users not to use DolphinQt by accident.
2016-07-13 15:52:45 +10:00
EmptyChaos
3e4cea7f6f
DolphinQt2: Fix MSBuild for Visual Studio.
...
Null VideoBackend is not being linked correctly.
2016-07-13 11:12:20 +10:00
Rohit Nirmal
bb52aad546
Fix building with PCH disabled.
2016-07-12 12:43:03 -05:00
Léo Lam
47859ad40c
WiimoteReal: Call Update() less often
...
This moves back the WiimoteScanner:Update() call to where it originally
was, since according to a comment it is intended to be called only when
"when not looking for more Wiimotes", and calling it too often causes
the Bluetooth module to be loaded/unloaded a lot of times.
2016-07-12 16:50:41 +02:00
Léo Lam
5e829f4527
ControllerEmu: Split the Setting class
...
The Setting class was used for both numeric values and booleans, and
other parts of the code had hacks to make it work with booleans.
By splitting Setting into NumericSetting and BooleanSetting, it is
clear which settings are numeric, and which are boolean, so there is
no need to guess by checking the default values or anything like that.
Also, booleans are stored as booleans in config files, instead of 1.0.
2016-07-12 11:42:18 +02:00
Scott Mansell
e0839a9478
Strip whitespace from Evdev and OSX controller names.
2016-07-12 14:19:07 +12:00
Pierre Bourdon
f59b8b7536
Merge pull request #3986 from JosJuice/scrubbing-improvements
...
Scrubbing improvements
2016-07-12 02:24:04 +02:00
Pierre Bourdon
ac00b249aa
Merge pull request #3985 from thegrb93/master
...
Prevent windows from idling while playing a game with a gc controller
2016-07-11 23:45:53 +02:00
Garrett Brown
0856e162a3
Prevent windows from idling while playing a game with a gamecube controller.
2016-07-11 13:39:06 -05:00
Pierre Bourdon
2de6d07360
Merge pull request #4000 from JosJuice/movie-netplay-global
...
Movie: Don't access g_netplay_initial_gctime directly
2016-07-11 17:09:04 +02:00
JosJuice
8df4437b6c
Movie: Don't access g_netplay_initial_gctime directly
...
Using the global variable directly is ugly and might not be threadsafe.
2016-07-11 16:49:58 +02:00
Léo Lam
6cc4591226
evdev: Clamp axis values to the 0.0-1.0 range
...
The values are expected to be in the 0.0-1.0 range (as indicated by the
comment), and other parts of Dolphin also expect it to be in that range
since the "full" axis has a -1.0 to 1.0 range. However, this is not
always the case and fvalue can end up being outside of the range. This
clamps fvalue to always be in the 0.0 and 1.0 range.
2016-07-11 14:00:09 +02:00
JosJuice
53e7eed28d
DiscScrubber: Fix issue 9356
2016-07-11 11:46:15 +02:00
Pierre Bourdon
f57aec0525
Merge pull request #3858 from Aestek/feature/better-netplay-gamenotfound
...
Netplay: check if all players have the game before starting
2016-07-11 10:06:00 +02:00
Pierre Bourdon
8de6800e9d
Merge pull request #3998 from comex/warning-fixes-951
...
Fix more warnings:
2016-07-11 04:04:30 +02:00
comex
8a02473237
Fix more warnings:
...
- Externals/soundtouch/CMakeLists.txt: add -w (since it's not our code) to
silence an unused variable warning
- Source/Core/Core/NetPlayClient.cpp: Work around a Clang/libc++ bug where
initializing a std::array the way the standard says you're supposed to produces
a warning. (libc++'s implementation of std::array, like any sane
implementation, has a C array as a field, so the most explicit form of
initialization would use two braces, one for the struct and one for the array.
Clang has a general warning for not being explicit with braces, which is
usually sane. But the standard only guarantees that initializing std::array
works with a single pair of braces!) There are other places in Dolphin that
incorrectly use double braces, presumably to avoid the warning, so maybe the
warning should just be turned off, but in any case here I just switch to an
equivalent .fill().
2016-07-10 21:51:28 -04:00
comex
42660292f6
Use newer ffmpeg APIs to avoid deprecation warnings.
2016-07-10 21:36:18 -04:00
Pierre Bourdon
3a895f88bf
Merge pull request #3988 from leoetlino/scanning-block
...
WiimoteReal: Don't block on refresh
2016-07-10 21:40:48 +02:00
Léo Lam
80fc5e2814
WiimoteReal: Don't use a recursive mutex
...
This replaces a recursive mutex with a normal mutex.
2016-07-10 20:41:00 +02:00
Pierre Bourdon
08e482eae3
Merge pull request #3614 from rukai/LinuxLocalDev
...
Linux support for portable.txt + documentation in readme
2016-07-10 16:34:33 +02:00
Léo Lam
c827fdd2b5
WiimoteReal: Don't block on refresh
...
This changes Refresh() to use the existing scanning thread to scan for
devices, instead of running the scan on the UI thread and blocking it.
Also makes the UI thread not block when Continuous Scanning is disabled
and removes duplicated code.
Should fix issue 8992.
Under the hood:
* The scanning thread is now always active, even when continuous
scanning is disabled.
* The initialize code which waits for Wiimotes to be connected also
uses the scanning thread instead of scanning on yet another thread.
* The scanning thread now always checks for disconnected devices, to
avoid Dolphin thinking a Wiimote is still connected when it isn't. So
we now check if we need new Wiimotes or a Balance Board at scan time.
2016-07-10 13:29:57 +02:00
Aestek
cd9a58b704
Check if all players have the game before starting netplay
...
https://bugs.dolphin-emu.org/issues/8885
2016-07-10 10:13:34 +02:00
Pierre Bourdon
7ee6d08213
Merge pull request #3961 from phire/less_virtual_xfb_lag
...
XFB: Send image to screen at start of field (Reduce VirtualXFB latency)
2016-07-10 03:01:26 +02:00
Pierre Bourdon
6204a813fd
Merge pull request #3995 from RisingFog/remove_vi_movie_playback
...
Remove VI count limit on Movie playback
2016-07-10 02:54:31 +02:00
Chris Burgener
d00c013339
Remove VI count limit on Movie playback
2016-07-09 20:35:01 -04:00
Léo Lam
90ed048532
DolphinWX: Print a message when we receive a signal
...
This makes it clear that sending a signal a second time will force stop
Dolphin (which is useful in case the GUI is deadlocked or otherwise
unable to react to the signal).
2016-07-09 20:27:49 +02:00
Pierre Bourdon
59f4d445bb
Merge pull request #3991 from leoetlino/signal
...
DolphinWX: Shut down cleanly on shutdown signal
2016-07-09 14:17:22 +02:00
mimimi085181
de7b2f984a
Make tries a u32
...
Before this variable was an u8, which could theoretically result in desyncs with a large buffer(greater than 255*120/200=153) filled with blank inputs. If this could actually happen, i don't know. But this part of the code on its own looks like it could break.
2016-07-08 23:30:25 +02:00
mimimi085181
b962c1f392
Fix running more than one session with Wiimotes
...
A static var is not a good idea, when the value needs to be reset for every session. Also, the variable holds the data size, so it makes sense to set the data size, where the data is added.
2016-07-08 23:30:24 +02:00
Léo Lam
0f028df6b2
DolphinWX: Shut down cleanly on signal
...
This makes DolphinWX shut down cleanly, just like it would with
File->Exit when it receives a SIGINT, SIGTERM (Unix) or some signals
on Windows.
The default signal handler will be restored after a first shutdown
signal so a second signal will exit Dolphin forcefully.
2016-07-08 23:11:27 +02:00
mimimi085181
4f9fe41ee6
Revert pr#3660
...
https://github.com/dolphin-emu/dolphin/pull/3660
2016-07-08 20:23:33 +02:00
mimimi085181
330289cf71
Revert pr#3691
...
https://github.com/dolphin-emu/dolphin/pull/3691
2016-07-08 20:23:32 +02:00
EmptyChaos
9036b9d8e8
SectorReader: Fix cache line bias
...
Minor bug where SectorReader::GetEmptyCacheLine was biased towards
the first hit.
2016-07-09 02:27:35 +10:00
JosJuice
b960b5677b
Don't ScheduleEvent from wrong thread when inserting SD card
2016-07-08 00:02:06 +02:00
mimimi085181
fcf5d4f6bc
Revert pr#3802
...
https://github.com/dolphin-emu/dolphin/pull/3802
2016-07-07 14:25:30 +02:00
JosJuice
31226b8503
DiscScrubber: Replace unused blocks with 0x00 instead of 0xFF
2016-07-07 11:51:58 +02:00
Pierre Bourdon
3f03e2d5fe
Merge pull request #3982 from JosJuice/how-did-this-even-compile
...
DolphinWX: Fix a mix-up
2016-07-06 18:46:05 +02:00
JosJuice
3b7c614124
DolphinWX: Fix a mix-up
...
Caused by a commit of mine, cb3b1b6
2016-07-06 18:31:18 +02:00
JosJuice
865be48ee3
Movie: Simplify ChangeDisc path handling
2016-07-05 21:13:43 +02:00
JosJuice
ce9622c426
Use g_want_determinism in code added by 8f0cbef
...
There's no reason this only should apply to netplay.
2016-07-05 20:58:44 +02:00
JosJuice
6951228abd
Use g_want_determinism more
2016-07-05 18:50:06 +02:00
JosJuice
1da866d7de
DVDInterface: Simplify calling ChangeDisc from CPU thread
...
When Movie was calling ChangeDisc, it was moving execution to
the host thread just to then make the host thread the CPU thread.
We can simply run the code directly on the CPU thread instead.
2016-07-05 18:20:24 +02:00
JosJuice
b6eb5c25d1
Movie: Fix FrameSkipping determinism condition
...
The old condition seems to be a typo of
!(IsMovieActive() || NetPlay::IsNetPlayRunning())
2016-07-05 13:57:06 +02:00
JosJuice
f3e459091b
Merge pull request #3874 from dolphin-emu/revert-3873-argh
...
Revert "Undo the addition of a translatable string during the string freeze"
2016-07-05 12:07:53 +02:00
Matthew Parlane
7ad74832e6
Revert "Undo the addition of a translatable string during the string freeze"
2016-07-05 21:44:38 +12:00
Scott Mansell
708fb35fdb
Merge pull request #3878 from mathieui/enable-cheats-for-jmc-the-cheater
...
Sync the "enable cheat" setting over netplay
2016-07-05 21:36:02 +12:00
Scott Mansell
69bf05b302
Merge pull request #3976 from JosJuice/shutdown-clear-codes
...
PatchEngine: Clear active codes on shutdown
2016-07-05 21:13:48 +12:00
JDV
d6a2fcd26c
Formatting and setting is now only temporarily changed ( #1 )
...
Add the cheat setting to the bootmanager config cache, and reformat
2016-07-05 02:23:19 +02:00
mathieui
8a2e7fddd1
Sync the "enable cheat" setting over netplay
2016-07-05 02:23:10 +02:00
Rukai
f42350e719
portable.txt enables portable configuration on linux, README updated to
...
show how to build a portable and a local dolphin on linux.
2016-07-04 19:39:10 +10:00
JosJuice
b210769ea0
PatchEngine: Clear active codes on shutdown
...
The active codes normally get cleared when a game boots, because
LoadPatches gets called, replacing the codes from the previous game.
However, there were cases where LoadPatches doesn't get called, and
then codes from the previous game would be used for the current game.
This commit clears the codes on shutdown so that it doesn't matter
whether the boot process loads LoadPatches.
2016-07-01 13:07:57 +02:00
Lioncash
9bfafed5b8
FifoPlayer: Get rid of semicolons on namespace braces
2016-07-01 04:36:05 -04:00
Lioncash
06ccfef1c1
FifoPlayer: Get rid of unnecessary includes
2016-07-01 04:25:40 -04:00
Markus Wick
b30bf5d959
Merge pull request #3966 from phire/ImNotTheOnlyPersonWhoMakesThisMistake
...
Fix broken debug builds in visual studio
2016-07-01 08:24:02 +02:00
Chris Burgener
fcbb39d236
Merge pull request #3972 from RisingFog/merge_addstereosamples
...
Remove AddStereoSamples function
2016-07-01 01:03:14 -04:00
Chris Burgener
76abf1f727
Remove AddStereoSample function
2016-07-01 00:59:25 -04:00
Chris Burgener
046c96f1b8
Merge pull request #3944 from RisingFog/configurable_dump_path
...
Add Dump Path to Configuration Menu
2016-06-30 20:46:52 -04:00
Chris Burgener
e92ff9d09f
Add Dump Path to Configuration Menu
2016-06-30 20:20:48 -04:00
hthh
e57333ac5e
Jit: Remove unsafe MOV optimization
...
This optimization broke arithXex in rare cases by
emitting XOR where MOV was expected.
2016-07-01 01:43:35 +10:00
Pierre Bourdon
f8bf839e36
Merge pull request #3967 from JosJuice/remove-boomy
...
Remove Boomy
2016-06-30 12:07:50 +02:00
JosJuice
ed42467e87
Fall back to default theme when the configured theme doesn't exist
2016-06-30 11:49:13 +02:00
Scott Mansell
20449ec91f
Don't forget to initalize your variables.
2016-06-30 20:27:19 +12:00
Lioncash
396ae89e5c
FifoDataFile: Convert FifoFrameInfo's fifoData member into a vector
2016-06-29 02:54:49 -04:00
Lioncash
437b1294bb
FifoDataFile: Convert MemoryUpdate data member to std::vector
2016-06-29 02:29:34 -04:00
Lioncash
8943d23a4c
FifoDataFile: Make Load return a unique_ptr
2016-06-28 21:23:55 -04:00
Chris Burgener
41335752e5
Merge pull request #3891 from RisingFog/split_audio_dump_sample_rate
...
Split Audio Dumps on Sample Rate Changes
2016-06-28 11:52:40 -04:00
Scott Mansell
35566316ed
XFB: Send image to screen at start of field.
...
This is much more accurate to the hardware, and saves around 16ms
of latency.
2016-06-28 15:12:43 +12:00
Chris Burgener
28a3691e70
Merge pull request #3930 from RisingFog/split_video_dump_resolution
...
Split Video Dumps on Resolution Change
2016-06-27 22:39:19 -04:00
Matt Mastracci
1e08ad0d97
Add MOV optimization and MOV_sum
...
Replaces incarnations of the A=B+C pattern throughout the
code so we can apply optimizations consistently.
2016-06-27 15:43:52 -06:00
Markus Wick
adcef046f6
Merge pull request #3496 from mmastrac/fastmem_refactor
...
Refactor the fastmem/trampoline code
2016-06-27 23:06:22 +02:00
Matt Mastracci
b1296a7825
Refactor fastmem/trampoline code.
...
Simplication to avoid reading back the generated instructions, allowing
us to handle all possible cases.
2016-06-27 14:58:20 -06:00
degasus
3b3cbc4aab
BusyLoopTest: Only run 10 times.
...
Running this test 100 times is not worth to spend 1 second.
2016-06-27 22:06:52 +02:00
Markus Wick
ddc9e414ee
Merge pull request #3454 from mmastrac/gqr_fixes
...
JIT perf improvements for quantized loads/stores
2016-06-27 18:31:50 +02:00
Chris Burgener
f31adf9635
Fix D3D crashes/issues
2016-06-27 10:13:17 -04:00
Léo Lam
1b71249562
D3D: Fix crash on start with BBox enabled
...
Someone removed the BBox::Init(), causing crashes when BBox is enabled.
Fixes issue #9643 .
2016-06-27 12:45:00 +02:00
Pierre Bourdon
cf2c5e276c
Merge pull request #3957 from lioncash/mutex
...
FifoRecorder: Use lock_guard instead of explicit lock/unlock
2016-06-27 10:36:43 +02:00
Lioncash
1dee75a68e
FifoRecorder: Use lock_guard instead of explicit lock/unlock
2016-06-27 04:15:16 -04:00
Markus Wick
c4838b9cbc
Merge pull request #3951 from leoetlino/formatting-fix
...
LightingShaderGen: Fix formatting
2016-06-27 09:59:48 +02:00
Matt Mastracci
4aa5291f54
Refactor the paired load/store code
...
Simplification/reduction of duplicated code. Detect other constant GQR values and inline loads (5-10% speedup) and do direct dispatch to AOT methods for stores.
2016-06-26 19:49:02 -06:00
Pierre Bourdon
6ed001ad42
Merge pull request #3954 from delroth/x64-emitter-test
...
x64EmitterTest: fill cpu_info with 0x01 instead of 0xFF to make gcc happier
2016-06-27 02:38:10 +02:00
Pierre Bourdon
a910a4309f
x64EmitterTest: fill cpu_info with 0x01 instead of 0xFF to make gcc happier
2016-06-27 01:55:42 +02:00
Léo Lam
d9fc1e01b4
LightingShaderGen: Fix formatting
2016-06-26 16:35:44 +02:00
Markus Wick
6b01eca3a0
Merge pull request #3950 from phire/fix-warnings
...
VideoCommon: Fix some warnings.
2016-06-26 13:37:15 +02:00
Scott Mansell
d958388617
VideoCommon: Fix some warnings.
2016-06-26 23:10:31 +12:00
degasus
d79aeaa1e9
VideoCommon: Drop GetConfigName.
...
We're past 5.0 now, so there is no need to look for old inis.
2016-06-26 12:34:59 +02:00
degasus
5f2f462067
VideoBackends: Merge ShowConfig functions.
2016-06-26 12:34:59 +02:00
degasus
7833ff25df
VideoBackends: Merge Initialize and Shutdown functions.
2016-06-26 12:34:59 +02:00
Scott Mansell
b16333a25c
Merge pull request #3716 from degasus/coretiming
...
CoreTiming: Drop ProcessFifoWaitEvents.
2016-06-26 22:13:05 +12:00
Scott Mansell
ee9e3432cb
Merge pull request #3513 from phire/make_hdkr_happy
...
Get shadergen ready for Multithreadded generation of shaders.
2016-06-26 21:55:22 +12:00
degasus
ca96302a36
PowerPC: Dedoublify CheckExternalExceptions.
2016-06-26 11:29:25 +02:00
degasus
4c5f8f9c91
CoreTiming: Drop ProcessFifoWaitEvents.
...
globalTimer is only written in Advance, so this function has no function.
2016-06-26 11:29:25 +02:00
Matthew Parlane
2776bcbf55
Merge pull request #3903 from leoetlino/wiimote-disconnect
...
Disconnect real Wiimotes when disconnected by games (not on all platforms)
2016-06-26 18:33:09 +12:00
Mat M
8d1a70af9a
Merge pull request #3945 from comex/warning-fixes-2016
...
Warning fixes 2016
2016-06-26 02:16:35 -04:00
Mat M
cf50ed82bb
Merge pull request #3943 from ShadowsFriend/nopch-fix
...
ControllerInterface: Include memory to fix building without pch
2016-06-26 02:13:47 -04:00
Mat M
c896645313
Merge pull request #3947 from magumagu/interpreter-cleanup
...
Misc cleanup in Interpreter.
2016-06-26 02:11:09 -04:00
Mat M
8d2137ba85
Merge pull request #3948 from magumagu/dead-bfakemem
...
Delete dead variable named bFakeVMEM.
2016-06-26 02:10:13 -04:00