Commit Graph
100 Commits
Author SHA1 Message Date
Léo Lam 8195d0bda1 Merge pull request #10144 from malleoz/dsp-onion
Port Main.DSP to MainSettings
2021-10-16 11:32:38 +02:00
Léo Lam 9a6f0bd9b2 Merge pull request #10168 from JosJuice/jitarm64-gcc-float-null
JitArm64: Work around a GCC warning promoted to error
2021-10-15 23:03:57 +02:00
Léo Lam 2187f11b08 Merge pull request #10167 from leoetlino/log-level-constant
Turn MAX_LOGLEVEL into a true constant (and fix self-comparison warning)
2021-10-15 22:35:43 +02:00
Léo Lam 7855e5f73b Turn MAX_LOGLEVEL into a true constant (and fix self-comparison warning)
This replaces the MAX_LOGLEVEL define with a constexpr variable
in order to fix self-comparison warnings in the logging macros
when compiling with Clang. (Without this change, the log level check
in the logging macros is expanded into something like this:
`if (LINFO <= LINFO)`, which triggers a tautological compare warning.)
2021-10-15 21:51:01 +02:00
Léo Lam 6bf10e0276 Merge pull request #10149 from malleoz/audiodump-add-timecode
Add Game ID, timecode to dspdump and dtkdump filenames
2021-10-15 19:42:30 +02:00
Léo Lam 023eb0b702 Merge pull request #10085 from Pokechu22/C26495
Fix all uninitialized variable warnings (C26495)
2021-10-13 21:52:22 +02:00
Léo Lam a0a91ec4b8 Merge pull request #10163 from JosJuice/b
Android: Improve OpenModeToAndroid's handling of 'b'
2021-10-13 20:43:33 +02:00
Léo Lam 71051b7027 Merge pull request #10043 from JosJuice/true-crime
Raise program exception on floating point exceptions
2021-10-13 20:39:34 +02:00
Léo Lam 4541abd1c0 Merge pull request #10121 from malleoz/game-window-cursor-always-on
DolphinQt: Add option to always show Mouse Cursor
2021-10-13 12:22:10 +02:00
Léo Lam f19da1cf92 Merge pull request #10118 from lioncash/messageid
NetPlayProto: Remove lots of casts to MessageId when inserting enum values into packets
2021-10-13 02:27:52 +02:00
Léo Lam 13b84c93c2 Merge pull request #10150 from shuffle2/mgba-update
update mgba submodule
2021-10-13 02:17:28 +02:00
Léo Lam dd936c5072 Merge pull request #10126 from malleoz/l-r-digital-input-display
Include digital L and R buttons in Input Display
2021-10-13 02:06:20 +02:00
Léo Lam a9e2c858eb Merge pull request #10151 from JosJuice/android-advanced-graphics
Android: Add the advanced graphics settings to the GUI
2021-10-13 02:01:51 +02:00
Léo Lam c746040112 Merge pull request #10154 from malleoz/disable-hotkeys-on-mapping-window
MappingWindow: disable hotkeys while window is active
2021-10-13 01:58:48 +02:00
Léo Lam 0315fcf934 Merge pull request #10155 from malleoz/toggle-hotkeys-on-qfiledialog
Disable hotkeys on static QFileDialog calls
2021-10-13 01:48:31 +02:00
Léo Lam c2d17f3f17 Merge pull request #10160 from fpdotmonkey/heed-renderwidget-switch-warning
Fix switch warning in RenderWidget
2021-10-13 01:44:24 +02:00
Léo Lam cac74f0733 Merge pull request #10157 from dreamsyntax/ida-7.x-scripts
Tools: Add IDA Save/Load Dolphin Map Scripts for 7.x
2021-10-13 01:41:32 +02:00
Léo Lam 6c1a625f0d Merge pull request #10159 from JosJuice/print-callstack-log
Core: Use log variant of PrintCallstack, not print variant
2021-10-13 01:40:07 +02:00
Léo Lam ff1cb5a1c0 Merge pull request #9803 from Techjar/bbox-videocommon
VideoCommon: Abstract bounding box
2021-10-08 22:24:38 +02:00
Léo Lam d90b30ca25 Merge pull request #10145 from NoNoTeal/master
Import Apple/FFmpeg libraries for AVI dumps on macOS
2021-10-07 08:18:53 +02:00
Léo Lam bf6a278c04 Merge pull request #10131 from malleoz/hotkey-syntax-fix
IOWindow: Do not accept on syntax errors
2021-10-06 00:27:06 +02:00
Léo Lam 33ffc7aa66 Merge pull request #10146 from JosJuice/nkit-convert-warning
DolphinQt/Android: Add warning when converting NKit files
2021-10-03 21:47:04 +02:00
Léo Lam 480cd35951 Merge pull request #10138 from Pokechu22/abort-on-panic-alert-fmt
Fix AbortOnPanicAlert with PanicAlertFmt
2021-10-03 19:10:19 +02:00
Léo Lam 9dc6229705 Merge pull request #10148 from JosJuice/i18n-keep-addresses
DolphinQt: Add i18n comment for "Keep addresses where value in memory"
2021-10-03 19:00:07 +02:00
Léo Lam 0d8ad5f53a Merge pull request #10008 from JosJuice/android-remove-emulationstate
Android: Remove the EmulationState class
2021-09-22 11:07:19 +02:00
Léo Lam 22f7c07caf Merge pull request #10081 from sepalani/mem-hex0
MemoryWidget: Simplify the search logic
2021-09-20 22:17:20 +02:00
Léo Lam 6129290d31 Merge pull request #10057 from JosJuice/jitarm64-divwx
JitArm64: Optimize divwx
2021-09-20 15:37:57 +02:00
Léo Lam a25f4fab20 Merge pull request #10080 from lioncash/membf
MemoryInterface: Migrate bitfields over to Common::BitField
2021-09-20 14:54:27 +02:00
Léo Lam b43cee8fe4 Merge pull request #10098 from AdmiralCurtiss/scan-dir-tree-trailing-slash
Common/FileUtil: Strip trailing path separator in ScanDirectoryTree().
2021-09-20 14:50:11 +02:00
Léo Lam 276ea43237 Merge pull request #10102 from lioncash/netplay
NetPlayClient: Split out OnData() into smaller functions
2021-09-20 14:41:47 +02:00
Léo Lam 29d236068c Merge pull request #10104 from AdmiralCurtiss/cheats-manager-ux
Cheats Manager UX improvements.
2021-09-20 14:30:04 +02:00
Léo Lam 28e6e8752c Merge pull request #10113 from JosJuice/tas-input-latency
DolphinQt: Reduce latency of TAS input's controller input passthrough
2021-09-20 14:26:13 +02:00
Léo Lam e7c0b8ecbd Merge pull request #10114 from AdmiralCurtiss/disc-addresses
Core/DiscIO: Extract disc and partition constants to DiscUtils.h.
2021-09-20 14:25:59 +02:00
Léo Lam 7379450633 Merge pull request #10092 from JosJuice/android-cheats
Android: Add cheat GUI
2021-09-16 19:21:33 +02:00
Léo Lam 94cfbfc49d Merge pull request #10099 from AdmiralCurtiss/directoryblob-read-between-files
DiscIO/DirectoryBlob: Handle reads between files.
2021-09-15 14:38:37 +02:00
Léo Lam 94e9751dfe Merge pull request #10100 from Pokechu22/no-wglShareLists
GLInterface: Remove unneeded wglShareLists call
2021-09-15 14:37:19 +02:00
Léo Lam 111c36e6cd Merge pull request #10101 from lioncash/kb
SI_DeviceKeyboard: Shorten MapKeys()
2021-09-15 13:24:05 +02:00
Léo Lam 15ec7bd546 Merge pull request #10097 from JosJuice/jitarm64-w0-clobber
JitArm64: Fix fresx/frsqrtex unlocking W0 too early
2021-09-14 23:51:24 +02:00
Léo Lam 819a0a69ff Merge pull request #10076 from lioncash/sibf
SI: Migrate bitfields to Common::BitField
2021-09-14 19:10:39 +02:00
Léo Lam ee863e6722 Merge pull request #10014 from OatmealDome/wiimote-disconnect-crash
WiimoteReal: Fix Wiimote disconnection causing Dolphin to crash on macOS
2021-09-13 15:26:02 +02:00
Léo Lam 5f2a8d98fb Merge pull request #10093 from JosJuice/revert-revert-10025
Revert "Revert "DolphinQt: Minor consistency fixes for the Settings window""
2021-09-13 14:54:01 +02:00
Léo Lam 32c7524f4d Merge pull request #10021 from Dentomologist/make_windows_tabbar_scroll_buttons_opaque
DolphinQt: Make Windows tab bar scroll buttons opaque
2021-08-31 19:18:03 +02:00
Léo Lam c3dadd140b Merge pull request #10074 from lioncash/pte
MMU: Tidy up PTE-related code
2021-08-31 19:17:08 +02:00
Léo Lam ef358a122a Merge pull request #10075 from lioncash/memcheck
MMU: Don't truncate 64-bit values when calling Memcheck()
2021-08-31 19:06:33 +02:00
Léo Lam c5becb4a7e Merge pull request #10040 from JosJuice/simplify-mcrfs
Interpreter: Simplify mcrfs implementation
2021-08-31 15:31:54 +02:00
Léo Lam d1048f390e Merge pull request #10073 from JosJuice/revert-10025
Revert "DolphinQt: Minor consistency fixes for the Settings window"
2021-08-31 12:18:25 +02:00
Léo Lam c2c30b4d50 Merge pull request #10026 from PatrickFerry/ini-fixes-3
Various GameINI Updates
2021-08-31 02:12:01 +02:00
Léo Lam 8ecb0447b6 Merge pull request #10025 from mbc07/gui-fixes-settings
DolphinQt: Minor consistency fixes for the Settings window
2021-08-31 01:43:02 +02:00
Léo Lam 48339afb98 Merge pull request #10041 from lioncash/conv
Interpreter: Make signedness and narrowing conversions explicit
2021-08-31 01:07:27 +02:00
Léo Lam 95fcedeef3 Merge pull request #10053 from lioncash/kdreq
IOS/Network/KD: Minor tidy-up changes
2021-08-31 00:45:17 +02:00
Léo Lam 1fa74ab824 Merge pull request #10058 from AdmiralCurtiss/dsp-cleanup
DSPHLE: Minor cleanup & savestate fix for AX coefficients.
2021-08-31 00:16:54 +02:00
Léo Lam 271612f328 Merge pull request #10064 from lioncash/regs
Gekko: Migrate register structs over to Common::BitField
2021-08-30 23:19:17 +02:00
Léo Lam d7109b149b Merge pull request #10066 from leoetlino/abort-on-panic-alert-option
Add an option to abort when a panic alert occurs
2021-08-30 22:43:21 +02:00
Léo Lam 16a903890c Merge pull request #10071 from JMC47/scoobyvertexrounding
GameINI: Add Vertex Rounding to Scooby-Doo: Night of 100 Frights
2021-08-30 22:41:44 +02:00
Léo Lam 6659f8019e Merge pull request #10035 from JosJuice/jitarm64-dcbx-in-loop
JitArm64: dcbx loop detection for improved performance when invalidating large memory regions
2021-08-30 22:39:20 +02:00
Léo Lam d94aa913f5 Merge pull request #10065 from iwubcode/graphics-debug-details
VideoBackends / VideoCommon: expose ability to view shader/texture debug names
2021-08-30 21:00:24 +02:00
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 ef98f209a2 IOS: Add missing writes of low MEM1 constants
On a real Wii, these constants are normally written by the system menu
(maybe even as part of common SDK code?)

However, they're cleared by IOS whenever a PPC title is launched.
IOS memsets 0x0-0x3fff and then manually writes some constants
in low MEM1. PR #4723 added most of the writes in the 0x31xx region
but left out the four writes to the legacy constant region.

Previously Dolphin didn't actually clear 0-0x3fff so those constants
would stick around after a system menu execution.
011f7789e0 exposed those missing writes.
2021-08-29 22:51:44 +02:00
Léo Lam e091c2e817 Add an option to abort when a panic alert occurs
Prompted by https://dolphin.ci/#/builders/24/builds/985

A 1-character typo in a recent PR caused FifoCI builds to break
horribly and spew millions of panic alerts until buildbot crashed.

This PR adds a new config option -- defaulting to off -- that allows
Dolphin to abort early on when a panic alert occurs instead of
continuing forever.
2021-08-29 02:02:07 +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