Lioncash
6ad6781bd3
WiimoteEmu: Get rid of pointer casting in extension GetState() functions
...
We can just memcpy the data instead of pointer-casting data, which is
alignment-safe and doesn't run afoul of aliasing rules.
Previously it also made it seem as if data itself pointed to valid
usable data, but it doesn't, it simply functions as an out parameter
where we push data built up from the GetState() functions into it.
2018-05-27 22:33:26 -04:00
Léo Lam
686e29f2d3
Merge pull request #6995 from lioncash/cd
...
CDUtils: Namespace code under the Common namespace
2018-05-28 01:05:03 +02:00
Lioncash
c056708dc8
CDUtils: Remove unused parameter in IsCDROM()
...
It was only ever passed nullptr, and even then, nothing was actually
done with the parameter.
2018-05-27 18:48:23 -04:00
Lioncash
470b09fe9d
CDUtils: Amend function names
...
Amends the function names to follow our coding style.
2018-05-27 18:48:09 -04:00
Lioncash
1f75fa0aff
CDUtils: Namespace code under the Common namespace
2018-05-27 18:30:58 -04:00
Léo Lam
5fdf171967
Merge pull request #6994 from lioncash/symbol
...
SymbolDB: Minor changes
2018-05-28 00:16:34 +02:00
Lioncash
f4ec419929
SymbolDB: Namespace code under the Common namespace
...
Moves more common code into the Common namespace where it belongs.
2018-05-27 18:01:40 -04:00
Lioncash
72e8058fb8
SymbolDB: Default constructor and destructor within the cpp file
...
Given this is a class with non-trivial data-members, it's preferable to
default the constructor and destructor in the cpp file.
2018-05-27 17:25:22 -04:00
Lioncash
a1a81c7bc9
SymbolDB: Convert typedefs into using aliases
2018-05-27 17:23:55 -04:00
Lioncash
e9b9797a86
SymbolDB: Normalize variable names
...
Normalizes variable naming so that it adheres to our coding style
While we're at it do minor cleanup relating to modified lines
2018-05-27 17:23:10 -04:00
Léo Lam
31045f39ca
Merge pull request #6992 from JosJuice/update-wiitdb
...
Sync wiitdb files with GameTDB
2018-05-27 23:16:49 +02:00
JosJuice
e8631dd68b
Sync wiitdb files with GameTDB
2018-05-27 22:26:02 +02:00
JosJuice
512c6fee51
Merge pull request #6986 from leoetlino/warnings
...
Debug: Add missing override specifiers
2018-05-27 16:16:13 +02:00
spycrab
ed0cefec78
Merge pull request #6976 from JosJuice/qt-addgame
...
GameListModel: Don't do a linear scan for each newly added game
2018-05-27 15:42:17 +02:00
spycrab
48961aa677
Merge pull request #6984 from Techjar/patch-2
...
Qt/GameConfigWidget: Fix Deterministic dual core not saving if changed to "Not Set"
2018-05-27 15:35:03 +02:00
Léo Lam
145258ad27
Debug: Add missing override specifiers
2018-05-27 14:39:01 +02:00
spycrab
febc1f8139
Merge pull request #6980 from spycrab/qt_fix_gamelist
...
Qt/GameTracker: Register missing metatype
2018-05-27 14:28:21 +02:00
spycrab
0cf59adeb5
Qt/GameTracker: Register missing metatype
2018-05-27 14:21:07 +02:00
Léo Lam
3798127cf7
Merge pull request #6926 from leoetlino/hardcoded-numbers
...
IOSC: Remove some hardcoded offsets and magic numbers
2018-05-27 14:17:28 +02:00
Léo Lam
bea1e38c67
Move ECCSignature to Common::ec and give it a less confusing name
2018-05-27 14:01:38 +02:00
Léo Lam
44827ba369
Use CertECC struct instead of hardcoded offsets
2018-05-27 14:01:38 +02:00
Markus Wick
5de2f960a1
Merge pull request #6985 from degasus/arm_vertex_loader_fix
...
VertexLoaderArm: Fix 565 color format.
2018-05-27 12:11:40 +02:00
degasus
3307946e2a
VertexLoaderArm: Fix 565 color format.
...
Copy & paste error for enforcing A=255.
It was copied from the 888X format, which stores the output data in another register.
2018-05-27 11:27:15 +02:00
JosJuice
a81a0d8c3e
GameListModel: Don't do a linear scan for each newly added game
2018-05-27 11:27:06 +02:00
Léo Lam
e9ce75ccc4
Merge pull request #6977 from lioncash/add
...
Interpreter_FPUtils: Set FPSCR.VXSNAN if either operand to NI_add() is a signaling NaN
2018-05-27 10:21:20 +02:00
Léo Lam
8f003f995b
Merge pull request #6981 from lioncash/const
...
CodeWidget/CodeViewWidget: Make symbol pointers const where applicable
2018-05-27 10:20:38 +02:00
Techjar
694f0842ce
Qt/GameConfigWidget: Fix Deterministic dual core not saving if changed to "Not Set"
2018-05-27 04:20:04 -04:00
Léo Lam
2bc9a4a902
Merge pull request #6982 from JosJuice/gametracker-race
...
DolphinQt2: Fix a race condition in GameTracker
2018-05-27 10:19:48 +02:00
JosJuice
c0553afff1
DolphinQt2: Fix a race condition in GameTracker
...
We need to make sure that LoadCache finishes before Start begins
accessing m_cache. The old solution with mutexes didn't do this.
2018-05-27 07:38:33 +02:00
Lioncash
880f7871d9
CodeWidget/CodeViewWidget: Make symbol pointers const where applicable
...
These aren't used to modify the data they point to, so make that
explicit. Also while we're at it, add const to any nearby variables that
can be made so.
2018-05-26 23:43:28 -04:00
spycrab
7b07424885
Merge pull request #6975 from JosJuice/qt-fast-gamelist
...
DolphinQt2: Show cached games before checking whether they exist on disk
2018-05-27 04:31:32 +02:00
spycrab
0c2538f17f
Merge pull request #6960 from spycrab/update_manually
...
Qt: Add option to invoke the updater manually
2018-05-27 04:29:02 +02:00
spycrab
ec322271ee
Qt: Add option to invoke the updater manually
2018-05-27 04:12:21 +02:00
spycrab
e9ae6e2727
Merge pull request #6979 from spycrab/qt_fix_sgp
...
Qt/SettingsWindow: Fix SelectGeneralPane opening the Audio pane
2018-05-27 03:45:12 +02:00
spycrab
6b71217268
Qt/SettingsWindow: Fix SelectGeneralPane opening the Audio pane
2018-05-27 03:36:25 +02:00
Lioncash
054c1b32eb
Interpreter_FPUtils: Set FPSCR.VXSNAN if either operand to NI_add() is a signaling NaN
...
This corrects VXSNAN flag setting for fadd, fadds, ps_add, ps_sum0, and ps_sum1
2018-05-26 16:05:33 -04:00
JosJuice
fd651cf5e6
GameFileCache: Fix a comment mistake
2018-05-26 20:21:22 +02:00
JosJuice
f2103c1b51
DolphinQt2: Avoid an unnecessary string conversion
2018-05-26 20:21:21 +02:00
JosJuice
68152faf43
DolphinQt2: Show cached games before checking whether they exist on disk
...
DolphinWX already has this improvement in startup time, and it matters
a lot when you have a large game list.
2018-05-26 20:21:17 +02:00
Léo Lam
f568e41fac
Merge pull request #6972 from JosJuice/default-jit
...
When CPU core is invalid, fall back to JIT instead of interpreter
2018-05-26 20:18:31 +02:00
spycrab
71c6eb2a5d
Merge pull request #6372 from spycrab/wasapi
...
AudioCommon: Implement WASAPI (Exclusive Mode)
2018-05-26 20:04:55 +02:00
spycrab
36f5af6c86
Merge pull request #6974 from spycrab/qt_enhance_improvements
...
Qt/EnhancementsWidget: Small improvements
2018-05-26 18:10:38 +02:00
spycrab
d3eff93140
Qt/EnhancementsWidget: Fix missing / duplicate anaglyph options
2018-05-26 17:52:28 +02:00
spycrab
30aa291e83
Qt/EnhacementsWidget: Default anaglyph to "dubois"
2018-05-26 17:38:42 +02:00
spycrab
538aa3197f
Qt/EnhancementsWidget: Fix "feature not supported" not disappearing when switching backends
2018-05-26 17:38:14 +02:00
spycrab
f7507a84f0
Merge pull request #6973 from JosJuice/qt-cpu-core-generic
...
DolphinQt2: Provide proper CPU core options for non-x64 systems
2018-05-26 16:37:20 +02:00
JosJuice
17be4c69b9
DolphinQt2: Provide proper CPU core options for non-x64 systems
2018-05-26 15:16:08 +02:00
spycrab
59cd188391
Merge pull request #6970 from spycrab/qt_win32_weight
...
Qt/Win32: Remove font weight calculation
2018-05-26 15:09:22 +02:00
JosJuice
792446e1da
When CPU core is invalid, fall back to JIT instead of interpreter
...
This might happen if someone moves settings between e.g. a PC and
an Android device, or if someone was using JITIL and updates Dolphin.
I also made the panic alert a bit more explanatory.
2018-05-26 14:19:53 +02:00
spycrab
4d0708e777
Merge pull request #6971 from JosJuice/infowidget-default-lang
...
InfoWidget: Use configured language by default
2018-05-26 14:19:48 +02:00