Commit Graph

36900 Commits

Author SHA1 Message Date
Scott Mansell
4db1816368
cmake: Require cmake 3.15 for MSVC
We need these policies, but we kind of want to avoid requiring cmake
3.15 for all platforms
2022-05-22 00:29:47 +02:00
Scott Mansell
876f6651b4
cmake: fix PCH to work with msvc/ninja
Ninja puts way more effort into compiling targets in parallel, and
ignores dependenceis until link time.

So we need to jump though hoops to force ninja to compile
pch.cpp before any targets which depend on the PCH.
2022-05-22 00:29:47 +02:00
Scott Mansell
89fda54820
cmake: fix ninja/msvc builds
If you don't set this policy, then cmake doesn't even try
to select a runtime library
2022-05-22 00:29:47 +02:00
Scott Mansell
0909e00117
cmake: fix MSVC PCH support
I'm not sure if the previous implementation ever worked.
2022-05-22 00:29:47 +02:00
Scott Mansell
2348017ee8
cmake: ignore external warnings in MSVC
Since we also treat all warnings as errors, we need to
ignore these to successfully build.
2022-05-22 00:29:46 +02:00
Scott Mansell
987f270083
cmake: fix buggy target sources on windows
I have no idea why cmake supports PUBLIC on target_sources,
but it does. It causes all targets that depend on this target
to try and include the files in their sources.
Except it doesn't take paths into account, so it breaks. Mabye
it would work if you used an abolute source? But I'm not sure
there is a sane usecase.
2022-05-22 00:29:46 +02:00
Scott Mansell
54d89b955a
cmake: add missing FFmpeg dependency on windows 2022-05-22 00:29:46 +02:00
Scott Mansell
d2df9afda2
cmake: Fix libusb on windows 2022-05-22 00:29:46 +02:00
Admiral H. Curtiss
243df970ff
Merge pull request #10675 from nolrinale/master
GameDB: Adjusted graphic settings for PSO EP1&2 and PSO EP3
2022-05-21 17:50:08 +02:00
nolrinale
c06f81b1ff
GameSettings: Adjusted graphic settings for PSO EP1&2 and PSO EP3, fixes missing texts. 2022-05-21 16:56:09 +02:00
Admiral H. Curtiss
5a4e783bb5
Merge pull request #10684 from Pokechu22/custom-rtc-default-value
MainSettings: Make MAIN_CUSTOM_RTC_VALUE default value less magical
2022-05-21 16:39:17 +02:00
Pokechu22
863cb591fe MainSettings: Make MAIN_CUSTOM_RTC_VALUE default value less magical 2022-05-20 20:35:53 -07:00
Mai M
0f2540a0d1
Merge pull request #10667 from t895/landscape-card
Android: Fix game card in landscape
2022-05-19 22:44:59 -04:00
Mai M
244e4acff2
Merge pull request #10674 from OatmealDome/mac-steam-overlay
DolphinQt: Add com.apple.security.cs.allow-dyld-environment-variables to entitlements
2022-05-19 22:43:57 -04:00
Mai M
8051c21028
Merge pull request #10680 from Pokechu22/dsp-int-overflow-comment
DSPInterpreter: Fix typo in isOverflow comment
2022-05-19 19:51:47 -04:00
Pokechu22
151119cece DSPInterpreter: Fix typo in isOverflow comment 2022-05-19 16:36:39 -07:00
Mai M
a98d0367d8
Merge pull request #10677 from Pokechu22/no-printf-log
Remove printf-style logging
2022-05-19 17:55:17 -04:00
Pokechu22
2aa0ae097b
Merge pull request #10672 from Pokechu22/xf-invtxspec
Show panic alerts if the CP configuration doesn't match the XF configuration
2022-05-19 13:13:53 -07:00
Pokechu22
8baeb75bd2
Merge pull request #10669 from Pokechu22/adapter-change-aa-mode-list-reload
Fix antialiasing modes being determined from the wrong graphics adapter
2022-05-19 13:13:22 -07:00
Pokechu22
5f9212dd84 Common/LogManager: Remove old printf-style logging functions 2022-05-19 12:41:58 -07:00
Pokechu22
0637c17b59 VideoCommon/FrameDump: printf-format messages before logging them 2022-05-19 12:41:58 -07:00
Pokechu22
35cb5c8f75 EXI_DeviceEthernet: Replace INFO_LOG with INFO_LOG_FMT 2022-05-19 12:41:58 -07:00
Pokechu22
2f5e69a94e JitArm64: Replace WARN_LOG with WARN_LOG_FMT 2022-05-19 12:41:57 -07:00
Pokechu22
642a1c1348 MainWindow: Replace WARN_LOG with WARN_LOG_FMT 2022-05-19 12:41:57 -07:00
Pokechu22
0faf0b80ad TAPServer_Apple: Use fmt logging 2022-05-19 12:41:57 -07:00
Pokechu22
a86fb9b475 Core/WGInput: Use fmt logging and include HRESULT in messages 2022-05-19 12:12:19 -07:00
OatmealDome
185188c009 DolphinQt: Add com.apple.security.cs.allow-dyld-environment-variables to entitlements 2022-05-18 20:23:17 -04:00
Pokechu22
8df55b492c Show a panic alert if the CP matrix indices don't match the XF matrix indices
This almost certainly never happens, but if it does we want to know.
2022-05-18 14:43:14 -07:00
Pokechu22
38a75f6a49 Show a panic alert if the CP vertex config doesn't match the XF vertex config
This probably isn't triggered by real games, but it's possible to accidentally do it with libogc (which results in freezes on real hardware).
2022-05-18 14:43:14 -07:00
Pokechu22
46bcdc4372 Rename CP and XF normal component count enums and update their descriptions 2022-05-18 14:43:14 -07:00
Pokechu22
736466a5d9 XFMemory: Rename hostinfo to invtxspec 2022-05-18 14:43:14 -07:00
Mai M
62601663e5
Merge pull request #10670 from shuffle2/winver
readme: update VS and windows min version requirements
2022-05-17 08:08:51 -04:00
Shawn Hoffman
a55192c020 readme: increment min windows version to 10 2022-05-17 02:42:31 -07:00
Shawn Hoffman
899be2efe8 readme: make VS min version match the source 2022-05-17 02:42:02 -07:00
Pokechu22
3949698acf Verify graphics config validity after populating the backend info
... and refresh the config before populating the backend info, as the config (specifically iAdapter) needs to be set to correctly populate the backend info.

Before, the list of valid antialiasing modes was always determined from the first adapter on the list on startup, regardless of the adapter the user selected.
2022-05-16 16:59:57 -07:00
Pokechu22
3950bc4620 Treat changing the graphics adapter the same as changing the backend
This results in the list of available antialiasing modes being updated; before, it would only show the modes available for the adapter that was selected when the graphics window was opened (or the backend was last changed).

The list of available modes is updated by `GraphicsWindow::OnBackendChanged`'s call to `VideoBackendBase::PopulateBackendInfoFromUI`, and then `EnhancementsWidget::LoadSettings` updates the UI.  Both of these are connected to the `GraphicsWindow::BackendChanged` signal.
2022-05-16 16:59:31 -07:00
Mai M
4085d463a1
Merge pull request #10661 from Tilka/ax_init
AX: refactor buffer initialization
2022-05-16 14:23:13 -04:00
Admiral H. Curtiss
b10808d815
Merge pull request #8763 from JosJuice/panic-alert-deadlock-gpu
DolphinQt: Fix the panic alert deadlock, dual core edition
2022-05-16 02:21:14 +02:00
Charles Lombardo
9224c099d4 Fix game card in landscape 2022-05-15 17:31:49 -04:00
Tilka
8132dc4aa6
Merge pull request #10662 from xperia64/dsp_doc_bootloading
Add tested DSP bootloading transfer size to docs
2022-05-15 05:35:58 +01:00
xperia64
534d92d2c5 Add tested bootloading transfer size 2022-05-14 23:12:53 -04:00
Tillmann Karras
ac7aeeece6 AX: refactor buffer initialization 2022-05-15 00:24:38 +01:00
JMC47
be75273ad4
Merge pull request #10454 from Pokechu22/pi-fifo-reset
ProcessorInterface: Implement PI_FIFO_RESET
2022-05-14 00:53:48 -04:00
Pokechu22
b8cca8f598 ProcessorInterface: Implement PI_FIFO_RESET
Fixes unknown opcodes 0x0f and 0xff when resetting titles, e.g. https://bugs.dolphin-emu.org/issues/12492
2022-05-13 14:20:14 -07:00
Tilka
fcb3f9e35b
Merge pull request #10652 from shuffle2/fmt
update fmt and fix warnings that popped up with vs 17.2
2022-05-13 22:09:01 +01:00
Tilka
27c6731a66
Merge pull request #10656 from Tilka/ax_dpl2
AX: handle DPL2 mixer control in old GameCube titles
2022-05-13 09:07:47 +01:00
JMC47
256e3b071e
Merge pull request #10658 from OatmealDome/qt5-cmake-prefix
BuildMacOSUniversalBinary: Place the Qt path on CMAKE_PREFIX_PATH
2022-05-13 03:06:42 -04:00
OatmealDome
8b1be98a96 BuildMacOSUniversalBinary: Place the Qt path on CMAKE_PREFIX_PATH 2022-05-12 23:04:33 -04:00
Tillmann Karras
855dbf88ca AX: handle DPL2 mixer control in old GameCube titles
This fixes the audio test in Rogue Squadron 2 (issue 12902).
2022-05-13 00:18:24 +01:00
Tillmann Karras
8438e647f2 AXWii: handle mixer control more precisely
On GameCube, a ramp bit has no effect if its corresponding channel is
inactive. On Wii however, enabling just the ramp implicitly also enables
the channel. AXSetVoiceMix() never does that, so this commit should have
no impact on games unless they fiddle with the mixer control value
directly.
2022-05-12 21:21:03 +01:00