dolphin/Source/Core
Léo Lam 118b2a3580
Core/DSP: Fix improper uses of offsetof
According to the C standard, an offsetof expression must evaluate to an
address constant, otherwise it's undefined behavior.

Fixes https://bugs.dolphin-emu.org/issues/12409

See also https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95942

There are still improper uses of offsetof (mostly in JitArm64) but
fixing that will take more effort since there's a PPCSTATE_OFF wrapper
macro that is sometimes used with non-array members and sometimes used
with arrays and variable indices... Let's keep that for another PR.
2021-02-10 02:03:16 +01:00
..
AudioCommon msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00
Common Arm64Emitter: Add additional assertions to BFI/UBFIZ 2021-01-31 12:04:57 +00:00
Core Core/DSP: Fix improper uses of offsetof 2021-02-10 02:03:16 +01:00
DiscIO msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00
DolphinNoGUI msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00
DolphinQt Fix mapping window title bar becoming unresponsive 2021-02-04 14:32:03 +01:00
InputCommon msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00
MacUpdater Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
UICommon msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00
UpdaterCommon msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00
VideoBackends msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00
VideoCommon Merge pull request #9366 from iwubcode/freelook_camera_quaternion 2021-01-28 01:34:09 +01:00
WinUpdater msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00
CMakeLists.txt WinUpdater: Add CMakeLists.txt 2019-05-08 23:59:04 +02:00
DolphinLib.ARM64.props msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00
DolphinLib.props NetworkCaptureLogger: Move SSL logging 2021-01-28 21:23:18 +04:00
DolphinLib.vcxproj msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00
DolphinLib.vcxproj.user msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00
DolphinLib.x64.props msbuild: bundle all dolphin "core" code into single library 2021-01-27 14:29:49 -08:00