Commit Graph

30568 Commits

Author SHA1 Message Date
Léo Lam d347867f2e
Merge pull request #8082 from Techjar/update-lint
Update lint.sh to clang-format 7.0
2019-05-06 20:46:28 +02:00
Techjar a72f56f558 Update lint.sh to clang-format 7.0 2019-05-05 19:25:42 -04:00
Mat M 7aa591bbd8
Merge pull request #8079 from Qyriad/docs/contributing-use-c++17
Document that the codebase now uses C++17 in Contributing.md
2019-05-05 16:14:38 -04:00
Mikaela Szekely 0c38943ee1
Document that the codebase uses C++17 in Contributing.md 2019-05-05 10:03:39 -06:00
Léo Lam 4fdd403562
Merge pull request #8078 from JosJuice/fallthrough
Use [[fallthrough]] in DiscExtractor
2019-05-05 10:44:10 +02:00
JosJuice bb1ed46753 Use [[fallthrough]] in DiscExtractor
This was missed in PR 6273 because the fallthrough was added to
DiscExtractor after that PR was created.
2019-05-05 10:35:45 +02:00
Léo Lam 5d52b6ff09
Merge pull request #6273 from leoetlino/c++17
Enable C++17
2019-05-05 10:24:18 +02:00
Léo Lam 9133e8f1be Require CMake 3.10 and use CMAKE_CXX_STANDARD
Removes the need to add -std= flags manually. CMake 3.10 is available
in Ubuntu 18.04, which is the oldest LTS version we support.
2019-05-05 00:13:13 +02:00
Léo Lam ab9ece9bca Replace MathUtil::Clamp with std::clamp 2019-05-04 23:12:17 +02:00
Léo Lam 6f84984b7b Use attribute [[fallthrough]] 2019-05-04 23:04:18 +02:00
Léo Lam cb168f22d6 Replace custom UNUSED macro with [[maybe_unused]] 2019-05-04 23:04:18 +02:00
Léo Lam c40ae4508d Bump minimum GCC version to 7.0
GCC 7.0 is the first version with full support for C++17.
Also fixes some bugs like https://stackoverflow.com/questions/32097759
2019-05-04 23:04:18 +02:00
Léo Lam 04c8201c32 Enable C++17
All supported platforms now have easy access to a compiler with C++17
support.

C++17 potentially allows for some nice cleanups and removes the need
for standard library backports (optional/variant).

See discussion at https://dolp.in/pr6264#discussion_r158134178
2019-05-04 23:04:18 +02:00
Léo Lam 99a4ca8de7
Merge pull request #7839 from ShFil119/impr/redundant
Remove redundant initialization
2019-05-04 22:50:51 +02:00
Léo Lam afa46aaf43
Merge pull request #7887 from lioncash/hid
DolphinQt/Debugger/RegisterColumn: Add HID registers to the register pane
2019-05-04 22:33:45 +02:00
Léo Lam 623b37d928
Merge pull request #8053 from jordan-woyak/profile-dropdown-fix
DolphinQt: Profile combobox fixes.
2019-05-04 21:37:06 +02:00
Connor McLaughlin 184f334158
Merge pull request #8074 from Qyriad/fixes/set-user-dir-properly
UICommon: Properly set user dir if ./user is a file (not a directory)
2019-05-04 16:15:00 +10:00
Anthony 1153cc1667
Merge pull request #8075 from Techjar/hide-checksum-menu
Qt/NetPlayDialog: Fix checksum menu being visible for everyone
2019-05-03 23:01:26 -07:00
Techjar 1dd8263375 Qt/NetPlayDialog: Fix checksum menu being visible for everyone
The wrong function was used to attempt to hide the menu. Non-hosts will
segfault upon trying to use it as they don't have a server instance.
2019-05-04 01:54:57 -04:00
Mikaela Szekely 8fe7e271f3
UICommon: Properly set user dir if ./user is a file (not a directory) 2019-05-03 23:30:50 -06:00
Jordan Woyak 6784225573 DolphinQt: Profile combobox fixes. 2019-05-03 16:29:22 -05:00
JosJuice d531fe6a1d Translation resources sync with Transifex 2019-05-03 13:48:50 +02:00
Léo Lam 159fa3ec36
Merge pull request #8057 from jordan-woyak/emu-tatacon
WiimoteEmu: Implement TaTaCon extension.
2019-05-03 11:52:39 +02:00
Léo Lam 6c7aeb3ffb
Merge pull request #8064 from JosJuice/notify-host-symbols-clear
Call Host_NotifyMapLoaded when clearing g_symbolDB
2019-05-03 11:47:26 +02:00
Connor McLaughlin a5af11bef1
Merge pull request #7980 from booto/memview-wtf
Debugger/Memory: Add support for address spaces
2019-05-03 11:49:02 +10:00
booto 2ff0486335 Debugger/Memory: Add support for address spaces
Different address spaces can be chosen in the memory view panel.
 * Effective (or virtual): Probably the view people mostly want. Address
   translation goes through MMU.
 * Auxiliary: ARAM address space. Does not display anything in Wii mode.
 * Physical: Physical address space. Only supports mem1 and mem2 (wii
   mode) so far.
2019-05-02 21:14:30 -04:00
Jordan Woyak 27043c1dac WiimoteEmu: Implement TaTaCon extension. 2019-05-02 19:35:46 -05:00
Léo Lam 3b16d2261a
Merge pull request #8065 from jordan-woyak/wm-ext-names
WiimoteEmu/DolphinQt: Better extension display names.
2019-05-02 13:14:17 +02:00
Léo Lam bd8cac91c3
Merge pull request #8066 from jordan-woyak/mapping-ui-no-refresh
DolphinQt: Don't refresh devices on open of mapping UI.
2019-05-02 13:06:29 +02:00
Jordan Woyak 77bda63627 DolphinQt: Don't refresh devices on open of mapping UI. 2019-05-01 19:30:02 -05:00
Jordan Woyak 99f537d499 WiimoteEmu/DolphinQt: Better extension display names. 2019-05-01 17:25:48 -05:00
Léo Lam 98b670dd29
Merge pull request #7966 from Techjar/fix-netplay-full-wii-save
Core/WiiRoot: Fix NetPlay full Wii save sync not copying all the saves back to main NAND
2019-05-01 19:29:38 +02:00
Léo Lam e9f7cb9926
Merge pull request #7997 from JosJuice/no-fuzzy-match
update-translated-strings.sh: Disable fuzzy matching
2019-05-01 18:04:05 +02:00
Léo Lam f4d7b537cc
Merge pull request #7958 from Craftyawesome/cpu-emulation-order
Re-order cpu emulation options from fastest to slowest
2019-05-01 17:56:19 +02:00
JosJuice 8fd6f8f6e9 Call Host_NotifyMapLoaded when clearing g_symbolDB
Otherwise DolphinQt will have a stale symbol list and
you can get nullptr dereferences when trying to use it.
2019-05-01 17:48:27 +02:00
Léo Lam bec85a0962
Merge pull request #8013 from JosJuice/titledatabase-japanese-gc
Show Japanese GC games in Japanese when using TitleDatabase
2019-05-01 17:37:31 +02:00
Léo Lam ef88dd73b3
Merge pull request #8014 from JosJuice/getuniqueidentifier-language-independent
Make GameFile::GetUniqueIdentifier independent of language setting
2019-05-01 17:34:01 +02:00
Connor McLaughlin 3f39aafcbf
Merge pull request #8062 from z0z0z/master
Disable Vulkan overrides for RADV driver
2019-05-01 22:29:05 +10:00
z0z0z 5bacb2e4c6 Disable Vulkan overrides for RADV driver 2019-05-01 07:59:54 -04:00
Léo Lam 5ce8d97c68
Merge pull request #7163 from lioncash/pointer
BTEmu: Get rid of a few pointer casts
2019-05-01 13:13:58 +02:00
Léo Lam d9999f406b
Merge pull request #8059 from JosJuice/casper-dcache-hack-pal
Port Casper's Scare School: Spooky Sports Day dcache hack to PAL
2019-05-01 12:08:58 +02:00
Connor McLaughlin 37c85b32c0
Merge pull request #8036 from jordan-woyak/emu-drums-fix
WiimoteEmu: Drum extension accuracy improvements.
2019-05-01 11:25:31 +10:00
Jordan Woyak 0c81af74e1 WiimoteEmu: Drum extension accuracy improvements. 2019-04-30 20:14:12 -05:00
JMC47 e39aa5b026
Merge pull request #7880 from jordan-woyak/udraw-tablet-emu
WiimoteEmu: Implement 3rd-Party extension encryption and uDraw GameTablet.
2019-04-30 19:45:33 -04:00
Jordan Woyak 2babbd76d0 WiimoteEmu: Implement uDraw GameTablet. 2019-04-30 18:36:37 -05:00
JosJuice 0ac642a537 Fix mistakes in RX4E4Z.ini 2019-04-30 15:20:10 +02:00
JosJuice 25eca5348f Port Casper's Scare School: Spooky Sports Day dcache hack to PAL
It's the same hack as we already have for the NTSC version,
except the instruction we overwrite is at a different location.
2019-04-30 15:19:42 +02:00
JosJuice c0aacdf719
Merge pull request #8058 from jordan-woyak/kill-sign-macro
InputCommon: Remove unused "sign" macro.
2019-04-30 07:08:30 +02:00
Jordan Woyak 57a23cc4a0 InputCommon: Remove unused "sign" macro. 2019-04-29 18:28:56 -05:00
Filip Gawin c110ffcdaa Remove redundant initialization 2019-04-30 01:22:24 +02:00