Léo Lam
815b590dfe
Update clang-format to version 12
...
12 is the latest release and various editors (VS, VSCode and CLion)
ship with clang-format 12 by default.
2021-08-30 00:20:18 +02:00
Léo Lam
86f2c7889d
Merge pull request #8932 from sepalani/cw-map
...
PPCSymbolDB: Improve symbol map column detection
2021-08-29 23:28:09 +02:00
Léo Lam
bfbbed8308
Merge pull request #10019 from JosJuice/port-enable-cheats
...
Port Enable Cheats to the new config system
2021-08-11 21:20:10 +02:00
Léo Lam
8e1dbdb257
Merge pull request #10006 from Tilka/pulse
...
AudioCommon: fix bogus error + cleanup
2021-08-08 13:16:54 +02:00
Léo Lam
28b7e2ef30
Merge pull request #9995 from AdmiralCurtiss/dcbx-virtual-address
...
Jit64: Always pass effective address to InvalidateICache() in dcbx.
2021-08-04 22:24:41 +02:00
Léo Lam
234859e2f3
Merge pull request #9994 from JMC47/spongebobmovie
...
GameINI: SpongeBob SquarePants Movie QoL Settings
2021-08-04 11:52:53 +02:00
Léo Lam
c68bd518c3
Merge pull request #9987 from Filoppi/patch-15
...
Preserve spaces in mapping preview of control names
2021-08-04 03:29:12 +02:00
Léo Lam
893b648d8d
Merge pull request #9992 from JMC47/gladiusregions
...
GameINI: Add Gladius Patch to Other Regions
2021-08-04 03:10:16 +02:00
Léo Lam
c9c5f7a89c
Merge pull request #9928 from Pokechu22/shadow-the-hedgehog-eyelids-NaN
...
Convert NaN to 1 when generating texture coordinates
2021-08-04 03:08:34 +02:00
Léo Lam
45cddda3bc
Merge pull request #9989 from JMC47/sbbfbbpatch
...
GameINI: SpongeBob SquarePants: Battle For Bikini Bottom Quality of Life settings
2021-08-04 00:41:12 +02:00
Léo Lam
35bf5e3839
Merge pull request #9962 from OatmealDome/macos-vulkan-default
...
VideoBackendBase: Prefer Vulkan over OGL on macOS Mojave and newer
2021-08-02 03:39:12 +02:00
Léo Lam
d4cd289297
Merge pull request #9979 from JMC47/genrexini
...
GameINI: Enable Medium Tex Cache for Generator Rex
2021-07-31 19:00:26 +02:00
Léo Lam
3b88ffbe60
Merge pull request #9978 from JosJuice/jit-ibat-table
...
Jit: Use ibat_table for dcbf/dcbi/dcbst address check
2021-07-31 18:59:17 +02:00
Léo Lam
35baf8df67
Merge pull request #9934 from Pokechu22/gba-unmaximize
...
Qt: Un-maximize GBA widget before resizing it
2021-07-31 04:07:28 +02:00
Léo Lam
24f052a9d3
Merge pull request #9939 from JosJuice/readme-submodule
...
Readme: Copy the submodule note to non-Windows sections
2021-07-31 03:46:55 +02:00
Léo Lam
a208ff5aab
Merge pull request #9957 from JosJuice/dcbx-faster
...
Jit: Perform BAT lookup in dcbf/dcbi/dcbst
2021-07-31 03:27:24 +02:00
Léo Lam
11d126965a
Merge pull request #9967 from Pokechu22/max-aniso-note
...
Remove note about anisotropic filtering requiring edge LOD
2021-07-29 02:02:30 +02:00
Léo Lam
0553b4a241
Merge pull request #9954 from Tilka/ax
...
DSPHLE: fix problems with older ucodes
2021-07-29 01:42:24 +02:00
Léo Lam
f0a7602eca
Merge pull request #9966 from JMC47/ffccgba
...
GameINI: Add FFCC Connectivity patch to all regions
2021-07-29 01:19:29 +02:00
Léo Lam
dfea9d0275
Merge pull request #9953 from JMC47/garfieldini
...
GameINI: Fix Garfield Hang
2021-07-25 00:41:59 +02:00
Léo Lam
d1beb9ef70
Merge pull request #7896 from CrystalGamma/pr-reserve
...
PowerPC: Move lwarx/stwcxd. reservation into PowerPCState
2021-07-21 12:39:42 +02:00
Léo Lam
462af20cdd
Merge pull request #9920 from JMC47/popshadow
...
GameINI: Fix PoP:TT Shadows
2021-07-21 11:47:16 +02:00
Léo Lam
bf36baa6b3
Merge pull request #9925 from JMC47/starsuccessorbox
...
GameINI: Improve Rendering in Sin & Punishment: Star Successor
2021-07-21 11:46:13 +02:00
Léo Lam
9a91b867ab
Merge pull request #9912 from Pokechu22/memory-viewer-physical-mem2
...
Fix MEM2 in the memory viewer in physical mode
2021-07-21 11:37:15 +02:00
Léo Lam
43b5383b16
Merge pull request #9924 from JMC47/tombraiderlegendini
...
GameINI: Fix water in Tomb Raider Legend
2021-07-21 11:29:08 +02:00
Léo Lam
ae426a4323
Merge pull request #9926 from JMC47/happyfeet2ini
...
GameINI: Fix Happy Feet 2 Text
2021-07-21 11:26:01 +02:00
Léo Lam
3e73a4fced
Merge pull request #9930 from JosJuice/netplay-designated-initializer
...
NetPlayClient: Remove a designated initializer
2021-07-21 10:45:34 +02:00
Léo Lam
0b18f8ae55
Merge pull request #9894 from AdmiralCurtiss/smooth-moves-tex-cache-ini
...
GameINI: Set safe texture cache in WarioWare: Smooth Moves for Writer's Block and Brain Age microgames.
2021-07-14 21:43:34 +02:00
Léo Lam
5021a13aa9
DSPHLE: Fix running and is_stream checks in AX HLE
...
A voice is considered running if and only if `running` equals 1,
not if `running` is not equal to 0.
This fixes https://bugs.dolphin-emu.org/issues/12508 because for some
reason *The Sims 2 - Castaway* sets `running` to 8 when a stream
finishes playing; previously our AX HLE would just loop the voice
and eventually crash after accessing invalid memory addresses.
Thanks to JMC47 and delroth's help, I've verified that this is the
correct check for the following ucodes:
GC:
* 0x3ad3b7ac
* 0x3daf59b9
* 0x4e8a8b21
* 0x07f88145
* 0xe2136399
* 0x3389a79e
Wii:
* 0x347112ba
* 0xfa450138
* 0xadbc06bd
And while I was fixing the running check, I noticed that the is_stream
field was also being handled incorrectly, so I've fixed that as well.
2021-07-14 19:21:35 +02:00
Léo Lam
887fcfc99a
DSPHLE: Remove redundant accelerator end check for AX Wii
2021-07-14 19:20:25 +02:00
Léo Lam
b0d2df727a
Merge pull request #9686 from Dentomologist/convert_adapter_tooltip_to_balloontip
...
GeneralWidget: Convert Adapter tooltip to BalloonTip
2021-07-13 03:33:42 +02:00
Léo Lam
de54856fbb
Merge pull request #9846 from jordan-woyak/report-dup-setting
...
Config: Add an ini setting to control real Wii Remote report duplication.
2021-07-13 03:32:49 +02:00
Léo Lam
162af2a7bb
Merge pull request #9870 from OatmealDome/ui-thread
...
macOS: Move UI API calls to the main thread
2021-07-13 03:29:49 +02:00
Léo Lam
b09347c160
Merge pull request #9877 from JosJuice/android-early-panic
...
Android: Avoid crash on early panic alert
2021-07-13 03:27:12 +02:00
Léo Lam
474adcc601
DSPHLE: Prevent AX GC and AX Wii symbol mixups
...
Putting AX functions from AXVoice.h in an anonymous namespace does
successfully prevent compilers from merging those functions and
allows us to avoid ODR violations.
However, tools such as gdb still mix up AX GC and AX Wii functions
and variables because those have the exact same symbol names.
This can be fixed by using inline namespaces which are transparent
at the source code level but forces AX GC and AX Wii symbols to be
different.
2021-07-12 16:30:15 +02:00
Léo Lam
838434a9df
Merge pull request #9879 from AdmiralCurtiss/host-is-instruction-ram-address-fix
...
Core/MMU: Fix inverted condition in HostIsInstructionRAMAddress().
2021-07-09 11:54:58 +02:00
Léo Lam
de12890588
Merge pull request #9873 from JosJuice/jitarm64-tbz-encoding
...
Arm64Emitter: Fix 64-bit TBZ/TBNZ encoding
2021-07-07 12:39:07 +02:00
Léo Lam
2c66a08fd3
Merge pull request #9848 from Pokechu22/di-hw-resets
...
Implement resetting DI via HW_RESETS
2021-07-07 12:35:35 +02:00
Léo Lam
1450e97c28
Merge pull request #9522 from AdmiralCurtiss/host-read-optional
...
Core/MMU: Add HostTryRead/HostTryWrite functions to allow specifying the desired address space, and return whether it succeeded.
2021-07-07 12:32:47 +02:00
Léo Lam
4b5dabff33
Merge pull request #9871 from OatmealDome/leftrightclick
...
Core: Use proper names for left, right, and middle click on Quartz ciface
2021-07-07 12:15:41 +02:00
Léo Lam
925379cb9f
Merge pull request #9872 from JosJuice/jitarm64-msr-ee
...
JitArm64: Check MSR.EE for external exceptions, not MSR.FE0
2021-07-07 12:13:16 +02:00
Léo Lam
954f27c5d7
Merge pull request #9709 from AdmiralCurtiss/upnp-error-log
...
UPnP: Improve error messages on initialization failure.
2021-07-06 15:36:38 +02:00
Léo Lam
21d75099fc
Merge pull request #9866 from JosJuice/jitarm64-hardcoded-exceptions
...
JitArm64: Don't hardcode exception constants
2021-07-06 15:21:38 +02:00
Léo Lam
b82b0683d5
MathUtil: Mark IntLog2 as constexpr
...
Mostly everything else was already marked as constexpr, and the only
function IntLog2 calls (CountLeadingZeros) is already constexpr.
2021-07-06 15:01:38 +02:00
Léo Lam
be0163b7ad
Merge pull request #9841 from JosJuice/revert-9835
...
Partially revert "Android: Clean up some hardcoded strings"
2021-07-06 13:07:50 +02:00
Léo Lam
39e14b6b5f
Merge pull request #9854 from JosJuice/wia-ice
...
DiscIO: Store partition key directly in ReuseID
2021-07-06 13:05:09 +02:00
Léo Lam
20ac3ed413
Merge pull request #9763 from Techjar/netplay-common-refactor
...
NetPlay: Refactor some functions into a common header
2021-07-06 12:56:46 +02:00
Léo Lam
56fdde5d74
Merge pull request #9595 from Dentomologist/fix_vertex_loader_test_warnings
...
VertexLoaderTest: Fix memset assignment warning
2021-07-06 11:50:23 +02:00
Léo Lam
683807abce
Merge pull request #9858 from OatmealDome/updater-fail
...
UpdaterCommon: Fix code signing error after updating on macOS
2021-07-06 02:33:05 +02:00
Léo Lam
27c560fdfa
Merge pull request #8915 from OatmealDome/updater-temp-dir
...
macOS: Untranslocate the app bundle's path for the updater
2021-07-06 02:22:28 +02:00
Léo Lam
ccc2b7bd25
Merge pull request #8416 from JosJuice/shader-compilation-names
...
Change the names for shader compilation settings
2021-07-06 01:41:27 +02:00
Léo Lam
c77a5f7e32
Merge pull request #9825 from JosJuice/jitarm64-mcrfs
...
JitArm64: Implement mcrfs
2021-06-24 03:05:15 +02:00
Léo Lam
0087eed235
Merge pull request #9793 from sepalani/template-mmio
...
MMIOHandlers: Move method definitions to MMIO.cpp
2021-06-24 02:42:52 +02:00
Léo Lam
ede9f2a76a
Merge pull request #9838 from JMC47/batensetting
...
GameINI: Enable Single Core for Baten Kaitos: Eternal Wings and the Lost Ocean
2021-06-24 02:23:26 +02:00
Léo Lam
965a8bd64c
Merge pull request #9814 from thyrc/musl
...
Fix includes for musl libc
2021-06-24 02:10:32 +02:00
Léo Lam
4979974a57
Merge pull request #9828 from JosJuice/android-pressed-opacity
...
Android: Apply opacity setting to pressed buttons too
2021-06-24 01:36:02 +02:00
Léo Lam
9476733a80
Merge pull request #9829 from sepalani/ai-samples
...
AudioInterface: Fix sample counter
2021-06-24 01:35:29 +02:00
Léo Lam
cf26846225
Merge pull request #9830 from skylersaleh/m1-unit-tests
...
Apple M1: Add support for running unit tests on universal builds
2021-06-24 01:15:02 +02:00
Léo Lam
a632a6a404
Merge pull request #9833 from Pokechu22/ubershaders-tevcoord
...
UberShaderPixel: always set tevcoord, even if the stage has no texture
2021-06-24 01:05:17 +02:00
Léo Lam
b66e88e4b9
Merge pull request #9837 from AdmiralCurtiss/mysterious-voodoo-performance-fix
...
VideoCommon/Fifo: Move SConfig::GetInstance() outside the GPU loop.
2021-06-24 00:41:43 +02:00
Léo Lam
4c37cc7e5e
Merge pull request #9816 from JosJuice/aarch64-fma-true
...
Common: Set bFMA to true for AArch64
2021-06-15 13:04:21 +02:00
Léo Lam
ee58f1c188
Merge pull request #9775 from dbrookman/fix-gameini-gfxbackend
...
GameINI: Fix GFXBackend crash
2021-06-15 12:47:55 +02:00
Léo Lam
c2ac21c8d6
Merge pull request #9753 from mbc07/VolumeVerifier_TMD_severity
...
VolumeVerifier: increase problem severity for incorrectly signed TMDs
2021-06-13 16:37:38 +02:00
Léo Lam
d536a50878
Merge pull request #9756 from Techjar/memcard-size-config
...
Replace MemoryCard251 setting with generic MemoryCardSize
2021-06-13 16:09:54 +02:00
Léo Lam
4cd1567308
Merge pull request #9809 from Techjar/netplay-session-settings
...
Move some NetPlay-specific settings to SessionSettings
2021-06-13 14:21:03 +02:00
Léo Lam
2898cf5121
Merge pull request #9784 from PEmu2/master
...
Update buffer_storage warning message
2021-06-13 12:56:26 +02:00
Léo Lam
0cc1fc37b5
Merge pull request #9788 from sepalani/dsp-rate
...
AudioInterface: Fix AIDFR initialization
2021-06-13 12:55:31 +02:00
Léo Lam
90a994f937
Merge pull request #9802 from JosJuice/android-game-file-cache-path
...
Android: Stop using custom path for GameFileCache
2021-06-13 12:53:49 +02:00
Léo Lam
4e3e3bfd60
Merge pull request #9804 from JosJuice/revert-fma
...
NetPlay/Jit64: Avoid using software FMA
2021-06-13 12:38:09 +02:00
Léo Lam
8ef4bd682b
Merge pull request #9805 from JosJuice/rounding-mode-savestate
...
PowerPC: Set host CPU rounding mode on init and savestate
2021-06-13 11:49:29 +02:00
Léo Lam
dd26106848
Merge pull request #9807 from Techjar/fix-glsl-any
...
VideoCommon: Define scalar any() and all() functions in GLSL
2021-06-13 11:15:11 +02:00
Léo Lam
38424d0c59
Merge pull request #9808 from xvrc/msghandler-label-fix
...
MsgHandler: Correct question and warning captions
2021-06-13 11:00:45 +02:00
Léo Lam
0a1f58ad77
Merge pull request #9730 from Dentomologist/remove_audio_pane_stretching
...
AudioPane: Remove main layout vertical stretching
2021-06-13 10:57:31 +02:00
Léo Lam
edc18e60ad
Merge pull request #9785 from Dentomologist/fix_gamelist_grid_zoom_in
...
GameList: Fix grid mode zoom keybind inconsistency
2021-06-07 14:00:21 +02:00
Léo Lam
5e371bb4be
Merge pull request #9792 from sepalani/lint
...
Lint: End of namespace
2021-06-07 12:16:08 +02:00
Léo Lam
8ca6ffd908
Merge pull request #9702 from Filoppi/controller_interface_fixes
...
Controller Interface refactor
2021-06-07 12:15:15 +02:00
Léo Lam
a208d529de
Merge pull request #9790 from AdmiralCurtiss/cheat-manager-config-change
...
CheatsManager: Avoid recreating child widgets on every OnStateChanged(), and take running game info directly from SConfig.
2021-06-07 02:37:11 +02:00
Léo Lam
684d09b342
Merge pull request #9789 from AdmiralCurtiss/netplay-efb-access-tile-size-bool
...
NetPlay: Sync the EFB access tile size as an integer instead of a boolean.
2021-06-06 19:20:38 +02:00
Léo Lam
3ef9d5f659
Merge pull request #9749 from Dentomologist/escape_update_commit_descriptions
...
Updater: Escape HTML characters in commit descriptions
2021-06-02 03:38:01 +02:00
Léo Lam
8dc87ef698
Merge pull request #9752 from JosJuice/android-unit-tests-off
...
Android: Disable building unit tests by default
2021-06-02 01:04:40 +02:00
Léo Lam
c16a12a20d
Merge pull request #9769 from Tilka/warnings
...
Fix -Wreorder warnings
2021-05-30 18:43:14 +02:00
Léo Lam
51671921c4
Merge pull request #9441 from skylersaleh/master
...
Apple M1 Support for MacOS
2021-05-24 12:39:01 +02:00
Léo Lam
a6f6211dde
Merge pull request #9633 from Pokechu22/BitfieldExtract-pointer-to-member
...
Change BitfieldExtract to use a pointer to the bitfield member
2021-05-08 00:21:15 +02:00
Léo Lam
049b92b7ef
Merge pull request #9417 from Filoppi/input-1
...
Fix FPS counter and Game Window speed % breaking on pause/unpause
2021-05-07 15:08:01 +02:00
Léo Lam
8547de2593
Merge pull request #9615 from Dentomologist/updater_documentation
...
Updater: Add code documentation
2021-05-07 15:05:14 +02:00
Léo Lam
2b632f6d5d
Merge pull request #9641 from lynlevenick/ash/texture-cache-opt
...
Remove spurious memory allocations in TextureCacheBase::SerializeTexture and DeserializeTexture
2021-05-07 15:01:23 +02:00
Léo Lam
70d8a78edc
Merge pull request #9683 from JosJuice/ppc-test-values
...
UnitTests: Put PowerPC test values in a separate file
2021-05-07 14:44:27 +02:00
Léo Lam
aa8ddcfc92
Merge pull request #9684 from JosJuice/move-unit-tests
...
UnitTests: Move some unit tests to where they should be
2021-05-07 14:31:09 +02:00
Léo Lam
19580c3841
Merge pull request #9692 from JosJuice/android-not-debuggable
...
Android: Don't set android:debuggable="true"
2021-05-06 22:16:59 +02:00
Léo Lam
ade9d6c954
Merge pull request #9679 from JosJuice/disable-verify
...
DolphinQt: Disable verify button when emulation is running
2021-05-02 10:52:46 +02:00
Léo Lam
20301592ad
Merge pull request #9677 from iwubcode/profile-drop-down
...
DolphinQt: fix input profile drop down not resizing
2021-04-27 14:01:12 +02:00
Léo Lam
ae9ac510e2
CMake: Do not enable LTO by default for MSVC
...
LTO is supposed to be enabled by default for VS Release builds
according to the VS prop files but a build log from JMC reveals
that /GL and /LTCG are not actually passed to cl.exe/link.exe
for some reason...
LTO also leads to *extremely* and unacceptably slow build times
when using link.exe, so let's disable it by default to actually
match the project files.
2021-04-27 12:54:18 +02:00
Léo Lam
d0484a9ea9
CMake: Fix MSVC flags for Release/RelWithDebInfo
...
See https://gitlab.kitware.com/cmake/cmake/-/issues/20812
Manually redefine MSVC flags to match Visual Studio defaults
and ensure that Release builds generate debug info.
2021-04-27 12:54:18 +02:00
Léo Lam
20d00dfc79
CMake: Add missing MSVC optimization flags to match VS project props
2021-04-27 12:54:18 +02:00
Léo Lam
ae67a9382b
CMake: Put the *.mo files directly in the correct output dir
...
Avoids the need to copy the *.mo files manually *and* more importantly
this ensures that the mo files are always recreated if the build
output directory is cleared.
2021-04-27 12:54:18 +02:00
Léo Lam
e71aef6768
CMake: Ask windeployqt not to copy DLLs that are unnecessary
...
* no-system-d3d-compiler: d3dcompiler_47.dll
* no-angle, no-opengl-sw: libEGL.dll, libGLESv2.dll
2021-04-27 12:54:18 +02:00
Léo Lam
f6b8d4758e
CMake: Copy license.txt to output folder to match existing Win builds
2021-04-27 12:54:18 +02:00
Léo Lam
c69747c7fb
CMake: Fix CMAKE_RUNTIME_OUTPUT_DIRECTORY being ignored in UnitTests
...
CMAKE_RUNTIME_OUTPUT_DIRECTORY_<mode> overrode CMAKE_RUNTIME_OUTPUT_DIRECTORY.
It's just unnecessary and it broke UnitTests's custom output directory
2021-04-27 12:54:18 +02:00
Léo Lam
dcf3ca0f89
CMake: Force gtest to link CRT dynamically to avoid runtime mismatches
...
Required to fix unit test builds for Windows+MSVC+CMake.
For more information, see:
https://github.com/google/googletest/blob/23ef29555ef4789f555f1ba8c51b4c52975f0907/googletest/README.md#visual-studio-dynamic-vs-static-runtimes
2021-04-27 12:54:18 +02:00
Léo Lam
219f66c6e9
Merge pull request #9672 from JosJuice/jit-naming-scheme
...
DolphinQt/Android: Unify the JIT naming scheme
2021-04-27 12:00:23 +02:00