Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upstream merge to 5.0-21088 #16

Merged
merged 2,163 commits into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2163 commits
Select commit Hold shift + click to select a range
e539dbb
VideoCommon/PixelEngine: Passthrough system instance in constructor
lioncash Dec 22, 2023
0505f05
VideoCommon/PixelEngine: Remove global system accessor in UpdateInter…
lioncash Dec 22, 2023
a23cf21
VideoCommon/PixelEngine: Generify lock guards
lioncash Dec 22, 2023
57327be
Merge pull request #12460 from lioncash/pix
Tilka Dec 22, 2023
d667fca
Implement Refresh on DocumentProvider
blakbin Dec 23, 2023
e9fa335
Socket: Fix a nullptr dereference when operations are pending
sepalani Dec 23, 2023
45d3c41
Make DocumentProvider Support Thumbnail
blakbin Dec 24, 2023
dd1f5f9
NetKDRequestDevice: Fix use-after-free crash
Dentomologist Dec 21, 2023
ecf4f1b
NetKDRequestDevice: Fix nullptr dereference crash
Dentomologist Dec 24, 2023
3cb5d34
Merge pull request #12462 from sepalani/net-force-shutdown
AdmiralCurtiss Dec 25, 2023
8fcf996
Jit: Reload RMEM/MEM_REG on ISI exception
JosJuice Dec 27, 2023
e212d1c
Merge pull request #12463 from Dentomologist/netkdrequestdevice_fix_c…
AdmiralCurtiss Dec 27, 2023
3ba333f
Merge pull request #12434 from Filoppi/fix_sharp_bilinear
AdmiralCurtiss Dec 27, 2023
1c68f42
Qt: Handle Overridden Graphics Backend
PatrickFerry Dec 23, 2023
ca69c60
DSPHLE/Zelda: add another 32-bit getter/setter (NFC)
Tilka Dec 28, 2023
594b55c
DSPHLE/Zelda: fix use of wrong reverb buffer
Tilka Dec 29, 2023
f1d446d
Merge pull request #12452 from Tilka/efb24
CrossVR Dec 29, 2023
68250af
Merge pull request #12465 from Tilka/zelda
Tilka Dec 29, 2023
0c7359e
Common: Fix encoding handling in GetWin32ErrorString
JosJuice Dec 29, 2023
bf0ac9d
Merge pull request #12466 from JosJuice/win32-error-string-encoding
AdmiralCurtiss Dec 29, 2023
4f04ac5
Common/StringUtil: Use internal linkage for codepage conversion funct…
AdmiralCurtiss Dec 29, 2023
99fbc4b
Merge pull request #11885 from Filoppi/devices_deadlock_fix_v2
AdmiralCurtiss Dec 29, 2023
6b166f1
DolphinQt/Mapping: Add "Use Mouse Controlled Pointing" button.
luc-git Nov 28, 2023
2beaaf6
Merge pull request #12363 from luc-git/mouse_ir
AdmiralCurtiss Dec 29, 2023
26760cf
Merge pull request #12467 from AdmiralCurtiss/codepage-convert-linkage
JosJuice Dec 30, 2023
2a89a1d
Merge pull request #12461 from blakbin/DocumentProvider
JosJuice Dec 30, 2023
b5f41e0
Android: Fix syntax of the targets line in build.gradle.kts
JosJuice Dec 30, 2023
b56e6cc
Android: Update the comment for the targets line in build.gradle.kts
JosJuice Dec 30, 2023
684b3df
JitArm64: Don't fall back to interpreter on low DCBZ hack
JosJuice Dec 30, 2023
465f17a
PowerPC: Add constants for the two TLB indices
JosJuice Dec 28, 2023
8ecc478
Merge pull request #12469 from JosJuice/tlb-index-constants
Tilka Dec 30, 2023
01e534a
Fix Logic Inefficiency in Arm64GPRCache::FlushRegisters
mitaclaw Dec 31, 2023
4805b02
Arm64RegCache: Use FlushMode everywhere
mitaclaw Dec 31, 2023
58c5ae3
UnitTests: Refactor BitSetTest
Dentomologist Dec 31, 2023
07df4ff
Merge pull request #12471 from mitaclaw/flush-gpr-arm-bug
Tilka Dec 31, 2023
abb484a
BitSet: Use direct initialization instead of c-style casts
Dentomologist Dec 31, 2023
7dbf463
BitSet64: Fix iterator incrementation
Dentomologist Dec 31, 2023
370daaf
Merge pull request #12474 from Dentomologist/bitset_use_static_cast
AdmiralCurtiss Jan 1, 2024
043d868
Merge pull request #12473 from Dentomologist/bitset64_fix_iterator_in…
AdmiralCurtiss Jan 1, 2024
6e3a232
Merge pull request #12464 from JosJuice/jit-isi-membase
AdmiralCurtiss Jan 1, 2024
295d86c
Merge pull request #12455 from PatrickFerry/qt_handle_overridden_grap…
AdmiralCurtiss Jan 1, 2024
381c270
DSPHLE/Zelda: fix reverb volume being multiplied by current volume twice
Tilka Jan 1, 2024
fd1a261
Merge pull request #12470 from JosJuice/jitarm64-low-dcbz-for-real
AdmiralCurtiss Jan 1, 2024
48eb8b1
Merge pull request #12475 from Tilka/zelda
Tilka Jan 2, 2024
d423ddc
GameSettings: Don't force EFB to RAM for PokéPark Wii
JosJuice Jan 3, 2024
a061678
Gameini: Disable "Immediately Present XFB" for Racquet Sports
PatrickFerry Jan 3, 2024
1073722
Revert "VideoCommon: revert max pixel shader samplers back to 8 for A…
iwubcode Jan 4, 2024
eec0018
Merge pull request #12478 from iwubcode/revert_android_max_sampler
Tilka Jan 4, 2024
ce19d6a
Core/Boot: Avoid global system accessor when setting disc.
AdmiralCurtiss Jan 4, 2024
0be476c
Core/CodeTrace: Take address from given instruction in GetInstruction…
AdmiralCurtiss Jan 4, 2024
84850f6
Merge pull request #12479 from AdmiralCurtiss/globals-setdisc
Tilka Jan 4, 2024
9c91b5e
Merge pull request #12480 from AdmiralCurtiss/codetrace-system
Tilka Jan 4, 2024
07c035e
Core/SystemTimers: Refactor to class, move to System.
AdmiralCurtiss Jan 4, 2024
2155a61
Core: Pass System through more of the emulation thread init process.
AdmiralCurtiss Jan 5, 2024
bfb417f
Merge pull request #12481 from AdmiralCurtiss/globals-systemtimers
lioncash Jan 5, 2024
feb7207
Merge pull request #12482 from AdmiralCurtiss/globals-coreinit
lioncash Jan 5, 2024
2f7f7af
Merge pull request #12468 from JosJuice/android-targets-fixes
lioncash Jan 5, 2024
58f5bf5
VKGfx: Don't panic for VK_SUBOPTIMAL_KHR
SuperSamus Jan 5, 2024
fc2ec82
FifoPlayer: Move instance to System.
AdmiralCurtiss Jan 5, 2024
6fc278b
Merge pull request #12483 from AdmiralCurtiss/system-fifoplayer
lioncash Jan 6, 2024
5b2ea51
Merge pull request #12484 from SuperSamus/vulkan-dont-panic-suboptima…
Tilka Jan 6, 2024
79c7fa4
Merge pull request #12476 from PatrickFerry/gameini_disable_immediate…
lioncash Jan 7, 2024
8a9d168
Merge pull request #12477 from JosJuice/r8a-efb2tex
lioncash Jan 7, 2024
2a42977
Core/DSPHLE: Move AESndAccelerator instance into AESndUCode.
AdmiralCurtiss Jan 7, 2024
696a6de
Merge pull request #12472 from mitaclaw/arm64-flush-mode
JosJuice Jan 7, 2024
4e57b66
Merge pull request #12375 from JosJuice/android-gate-size-crash
JosJuice Jan 7, 2024
d94b00e
JitArm64: Remove unnecessary locking of W0 in psq_stXX
JosJuice Jan 7, 2024
f2145c9
JitArm64: Update register comments in psq_lXX/psq_stXX
JosJuice Jan 7, 2024
180d053
Merge pull request #12486 from AdmiralCurtiss/globals-aesndaccel
lioncash Jan 8, 2024
bfd53c7
Core/DSPHLE: Make HLEAccelerator state local to GetInputSamples() in …
AdmiralCurtiss Jan 7, 2024
3b0444b
Core/DSPHLE: Move HLEAccelerator instance into AXUCode.
AdmiralCurtiss Jan 7, 2024
00fb709
Merge pull request #12487 from AdmiralCurtiss/globals-axaccel
lioncash Jan 8, 2024
9be9cbd
Core/DSPHLE: Store reference to System in DSPHLE instances.
AdmiralCurtiss Jan 6, 2024
a9bf93c
Core/DSPHLE: Remove global System access from CMailHandler.
AdmiralCurtiss Jan 6, 2024
e9ab33b
Core/DSPHLE: Remove global System access in UCodes.
AdmiralCurtiss Jan 6, 2024
3a91601
Core/DSPHLE: Store reference to DSPManager in AESndAccelerator.
AdmiralCurtiss Jan 8, 2024
1f0fe5a
Core/DSPHLE: Store reference to DSPManager in HLEAccelerator (AX/AXWii).
AdmiralCurtiss Jan 8, 2024
63453bd
Merge pull request #12485 from AdmiralCurtiss/globals-dsp
lioncash Jan 8, 2024
c2adc3f
Externals: Update fmt to 10.2.1
lioncash Jan 8, 2024
7398d0b
SI_DeviceGBAEmu: Remove global system accessors
lioncash Jan 8, 2024
409d2ec
SI_Device: Remove global system accessors
lioncash Jan 8, 2024
e7ecc6f
Merge pull request #12491 from lioncash/si
Tilka Jan 8, 2024
115ad82
Merge pull request #12490 from lioncash/fmt
AdmiralCurtiss Jan 10, 2024
0ab2bc2
ControllerInterface: Make FullAnalogSurface inherit IsDetectable()
SuperSamus Oct 28, 2023
b972329
PowerPC: Add access size parameter to MMU::IsOptimizableRAMAddress
JosJuice Jan 8, 2024
a8033f1
Steam Deck: Pad out feature report to 64 bytes
endrift Jan 10, 2024
c3b8aa1
Merge pull request #12493 from endrift/fix-deck
AdmiralCurtiss Jan 11, 2024
be7f4ab
Core: Pass sensor bar state into the Wiimote input calculation functi…
AdmiralCurtiss Jan 11, 2024
17753d5
Core/IOS/WiiIPC: Refactor to class, move to System.
AdmiralCurtiss Jan 11, 2024
5a633f0
Core/IOS/WiiIPC: Add missing variables to savestate.
AdmiralCurtiss Jan 11, 2024
f7a9ea9
Core/HW/GBACore: Avoid global System accessor.
AdmiralCurtiss Jan 12, 2024
bca5b10
Merge pull request #12489 from JosJuice/optimizable-access-size
AdmiralCurtiss Jan 12, 2024
ab3655f
Merge pull request #12496 from AdmiralCurtiss/globals-gba
lioncash Jan 12, 2024
6725c25
Merge pull request #12494 from AdmiralCurtiss/globals-wiiipc
lioncash Jan 12, 2024
42d61cf
Core/HW/MMIO: Pass System through Read() and Write().
AdmiralCurtiss Jan 12, 2024
637fd49
FifoRecorder: Move instance to System.
AdmiralCurtiss Jan 12, 2024
443b4ae
Core/FifoPlayer: Avoid global System accessor.
AdmiralCurtiss Jan 12, 2024
35a326a
Merge pull request #12497 from AdmiralCurtiss/globals-fifoplayer
lioncash Jan 13, 2024
d36baf6
Merge pull request #12499 from AdmiralCurtiss/globals-mmiorw
lioncash Jan 13, 2024
8760aca
Merge pull request #12500 from AdmiralCurtiss/globals-fiforecorder
lioncash Jan 13, 2024
4a362dd
Core/IOS/Network/Socket: Avoid global system accessor.
AdmiralCurtiss Jan 12, 2024
51e05f4
SDL: Add GameController API, cleanup
SuperSamus Aug 3, 2023
7baedc3
CMake: Enable SDL on Linux by default
SuperSamus Jan 2, 2024
1cca3b2
Merge pull request #12085 from SuperSamus/sdl-gamecontroller
AdmiralCurtiss Jan 13, 2024
c76dee7
Merge pull request #12285 from iwubcode/serialize_graphics_mods
lioncash Jan 13, 2024
95cba6b
Core/Movie: Refactor to class, move to System.
AdmiralCurtiss Jan 13, 2024
959c391
InputCommon/SDL: Fix incorrect use of std::vector::assign() and check…
AdmiralCurtiss Jan 15, 2024
d657ad5
InputCommon/SDL: Check for errors from SDL_JoystickNumButtons(), SDL_…
AdmiralCurtiss Jan 15, 2024
5e6e61c
InputCommon/SDL: Avoid potential infinite loops from integer truncation.
AdmiralCurtiss Jan 15, 2024
c7d7ae4
InputCommon/SDL: Code style fixes.
AdmiralCurtiss Jan 15, 2024
e3d39fc
Merge pull request #12502 from AdmiralCurtiss/globals-movie
lioncash Jan 15, 2024
5534f51
Merge pull request #12498 from AdmiralCurtiss/globals-socket
lioncash Jan 15, 2024
6aacbc4
Merge pull request #12488 from JosJuice/jitarm64-psq-stxx-w0
lioncash Jan 15, 2024
a0ccb25
GameINI: Octomania text fix
invalid-email-address Jan 16, 2024
12318f9
Merge pull request #12503 from AdmiralCurtiss/sdl-fixes
AdmiralCurtiss Jan 17, 2024
83d4b69
InputCommon/WGInput: Handle add/remove events on separate thread to p…
AdmiralCurtiss Jan 17, 2024
db43f90
Merge pull request #12508 from AdmiralCurtiss/wgi-deadlock
AdmiralCurtiss Jan 18, 2024
ac670d9
VideoCommon: Only initialize Bounding Box if supported by GPU/driver.
AdmiralCurtiss Jan 20, 2024
c8327ad
Revert "Android: Attach CPU thread to JVM early"
JosJuice Jan 20, 2024
6cd67e3
Partially revert "DolphinQt/Assembler: improve translatability"
JosJuice Jan 20, 2024
1a57040
Merge pull request #12511 from JosJuice/partial-revert-assembler-tran…
Tilka Jan 20, 2024
6276232
DolphinQt: Rework dirty flag handling in AssemblerWidget::TabTextForE…
JosJuice Jan 20, 2024
4b7c953
Merge pull request #12509 from AdmiralCurtiss/bbox-init-only-if-suppo…
JosJuice Jan 20, 2024
29f6baa
Merge pull request #12506 from xperia64/octomania_text
JosJuice Jan 21, 2024
d64705d
Merge pull request #12512 from JosJuice/assembler-dirty-flag
lioncash Jan 21, 2024
713572e
Merge pull request #12510 from JosJuice/android-revert-attach-early
lioncash Jan 21, 2024
64ccbdd
Translation resources sync with Transifex
JosJuice Jan 21, 2024
d1b4c54
Translation resources sync with Transifex
JosJuice Jan 22, 2024
9f82efa
Jit64/JitRegCache: Simplify GetAllocationOrder()
lioncash Jan 23, 2024
49eadbb
AchievementSettings: Move pragma once out of ifdef
lioncash Jan 23, 2024
b5a6225
VideoCommon: add function to serialize ShaderAsset to json
iwubcode Jan 23, 2024
a40a952
VideoCommon: add a method to calculate a default value for ShaderAsse…
iwubcode Jan 23, 2024
e12933f
Merge pull request #12515 from iwubcode/shader_asset_helper_functions
lioncash Jan 23, 2024
96fda3d
Merge pull request #12517 from lioncash/alloc
JosJuice Jan 23, 2024
f229246
Merge pull request #12518 from lioncash/pragma
JosJuice Jan 23, 2024
a3f9f2c
PostProcessing: Remove unnecessary get() calls in BlitFromTexture()
lioncash Jan 23, 2024
5aeadb1
PostProcessing: Don't potentially leak memory in BlitFromTexture()
lioncash Jan 23, 2024
3a688aa
VideoCommon: add function to serialize MaterialAsset to json
iwubcode Jan 23, 2024
0b1087e
Merge pull request #12520 from iwubcode/material_serialize_to_json
lioncash Jan 23, 2024
f03da37
NetKDTime: Use re-entrant variants of gmtime
lioncash Jan 23, 2024
c0b0023
Movie: Use re-entrant variant of gmtime in GetRTCDisplay()
lioncash Jan 23, 2024
7635623
Movie: Mark getters as const
lioncash Jan 23, 2024
1b3f610
Movie: Remove global system accessor from GetRTCDisplay()
lioncash Jan 23, 2024
6a86b35
State: Make use of re-entrant variant of localtime
lioncash Jan 23, 2024
7ef0262
PPCAnalyst: Merge duplicate expression in ReorderInstructionsCore()
lioncash Jan 23, 2024
28e9382
EXI_DeviceAGP: Annotate fallthrough with [[fallthrough]]
lioncash Jan 23, 2024
adb79d4
WiimoteReal: Explicitly break instead of fallthrough in IsBalanceBoard()
lioncash Jan 23, 2024
b06e188
Jit64AsmCommon: Remove redundant m_jit member from CommonAsmRoutines
lioncash Jan 23, 2024
3c64d03
FreeLookManager: check for __APPLE__ with defined()
lioncash Jan 23, 2024
a9f89a7
WiimoteEmu: check for __APPLE__ with defined()
lioncash Jan 23, 2024
f695ae5
JitInterface: Use #ifdef instead of #if for platform testing
lioncash Jan 23, 2024
4ccc517
PowerPC: Use #ifdef instead of #if for platform testing
lioncash Jan 23, 2024
258161b
DolphinAnalytics: Use #ifdef instead of #if for platform testing
lioncash Jan 23, 2024
6cb3389
CodeTrace: Use std::set::lower_bound() over std::lower_bound()
lioncash Jan 23, 2024
e4fa561
GekkoSyntaxHighlight: Fix FPR terminal highlighting being treated as …
lioncash Jan 23, 2024
100242a
GekkoSyntaxHighlight: Collapse cases for builtin color formats
lioncash Jan 23, 2024
a65aacc
DolphinQt/MenuBar: Hide assembler option if debug UI is disabled
lioncash Jan 23, 2024
a37fd83
VideoCommon: fix uber shader pixel compilation error that happens whe…
iwubcode Jan 23, 2024
7118fc5
VideoCommon: fix pixel shader compilation error that happens when uin…
iwubcode Jan 23, 2024
a8d45b8
VideoCommon: fix compilation error in uber pixel shaders when pixel s…
iwubcode Jan 23, 2024
cf081e8
VideoCommon: fix compilation error in pixel shaders when per-pixel li…
iwubcode Jan 23, 2024
03e3f65
Add host URL setting to achievements config
LillyJadeKatrin Jan 24, 2024
dab03e4
Merge pull request #12527 from lioncash/highlight
JosJuice Jan 24, 2024
74d4cb0
Merge pull request #12526 from lioncash/trace
JosJuice Jan 24, 2024
5692e15
Merge pull request #12525 from lioncash/defined
AdmiralCurtiss Jan 24, 2024
2826099
Merge pull request #12523 from lioncash/fallthrough
AdmiralCurtiss Jan 24, 2024
58bff55
Merge pull request #12528 from lioncash/assembler
AdmiralCurtiss Jan 24, 2024
97160dd
Merge pull request #12531 from LillyJadeKatrin/retroachievements-bugfix
lioncash Jan 24, 2024
7b6463e
ShaderAsset: Emplace value instances when possible in ToJson()
lioncash Jan 24, 2024
e3e20df
GraphicsMod: Avoid some object churn
lioncash Jan 25, 2024
0327b11
GraphicsModGroup: Reduce object churn
lioncash Jan 25, 2024
2253d9a
GraphicsModGroup: Mark move constructor and assignment as noexcept
lioncash Jan 25, 2024
0385b40
GraphicsModAsset: Reduce object churn a little
lioncash Jan 25, 2024
24f952c
GraphicsModFeature: Reduce object churn a little
lioncash Jan 25, 2024
1b7da37
GraphicsTargetGroup: Reduce object churn a little
lioncash Jan 25, 2024
7a59ecc
GraphicsTarget: Reduce object churn a little
lioncash Jan 25, 2024
b37f096
Common: add determinant functions to Matrix33 and Matrix44
iwubcode Jan 24, 2024
a553308
Merge pull request #12443 from iwubcode/custom_pipeline_action_materi…
lioncash Jan 26, 2024
c3652a7
Merge pull request #12532 from lioncash/json
AdmiralCurtiss Jan 26, 2024
460ab60
Merge pull request #12524 from lioncash/memb
AdmiralCurtiss Jan 26, 2024
b09b59c
Merge pull request #12521 from lioncash/reent
AdmiralCurtiss Jan 26, 2024
b0491c2
Merge pull request #12529 from iwubcode/math_determinant
AdmiralCurtiss Jan 26, 2024
e740e32
Merge pull request #12522 from lioncash/ppcanalyst
AdmiralCurtiss Jan 26, 2024
3e3967f
VideoCommon: refactor the custom pipeline logic in the graphics mod a…
iwubcode Jan 27, 2024
c34b3ae
VideoCommon: refactor drawing into its own function
iwubcode Jan 27, 2024
990303a
Merge pull request #12519 from lioncash/leak
JosJuice Jan 27, 2024
f25bdda
Removed post data from Achievement request logs
LillyJadeKatrin Jan 27, 2024
0405b4d
Merge pull request #12536 from LillyJadeKatrin/retroachievements-bugfix
AdmiralCurtiss Jan 28, 2024
c9715e7
Merge pull request #12535 from iwubcode/vertexmanager_draw_refactor
AdmiralCurtiss Jan 28, 2024
4843705
Merge pull request #12534 from iwubcode/custom-pipeline-refactor
AdmiralCurtiss Jan 28, 2024
8482a50
Merge pull request #12530 from iwubcode/custom_shaders_compilation_fixes
AdmiralCurtiss Jan 28, 2024
fd99a5d
Reverse endianness of achievement memory peeks
LillyJadeKatrin Jan 29, 2024
1e2fb41
Merge pull request #12538 from LillyJadeKatrin/retroachievements-bugfix
AdmiralCurtiss Jan 29, 2024
d124fcb
DolphinQt/RenderWidget: Add comments for SetCursorLocked() on Linux.
luc-git Oct 9, 2023
e1ec47b
Merge pull request #12223 from luc-git/comments
AdmiralCurtiss Jan 30, 2024
12fe555
Externals/hidapi: Convert to submodule
SuperSamus Jan 29, 2024
8d515d4
Migrate SConfig::m_is_mios to System.
AdmiralCurtiss Jan 30, 2024
4548162
Add Missing EncodeRegTo64 in JitArm64::dcbx
mitaclaw Jan 30, 2024
e082881
Merge pull request #12540 from mitaclaw/encode-reg-to-64
lioncash Jan 30, 2024
9a3e770
Migrate SConfig::bWii to System.
AdmiralCurtiss Jan 31, 2024
30fdf25
Merge pull request #12542 from AdmiralCurtiss/system-sconfig
lioncash Jan 31, 2024
a1879ea
GraphicsModGroup: Allow heterogenous lookup for GetMod()
lioncash Jan 31, 2024
81aca79
GraphicsModListWidget: Pass optional by const reference
lioncash Jan 31, 2024
ccacda5
GraphicsModGroup: Simplify try_add_mod()
lioncash Jan 31, 2024
40b050f
GraphicsModGroup: std::move graphics_mod in Load()
lioncash Jan 31, 2024
5bfaa3a
NativeVertexFormat: Collapse std namespace and mark hash noexcept
lioncash Jan 31, 2024
b63dcd5
RenderState: Collapse std namespace for hash
lioncash Jan 31, 2024
8e4b256
TextureConfig: Collapse std namespace for hash
lioncash Jan 31, 2024
0dfefac
VertexLoaderBase: Collapse std namespace for hash and mark noexcept
lioncash Jan 31, 2024
cac6631
VideoCommon/Statistics: Remove global system accessor from s_after_fr…
lioncash Jan 31, 2024
16d8b6e
Common/HookableEvent: std::move callback instance in Register()
lioncash Jan 31, 2024
5ade2e3
Core/Movie: Remove lingering global system instance accessors
lioncash Jan 31, 2024
2509164
Merge pull request #12545 from lioncash/hash
AdmiralCurtiss Jan 31, 2024
202c10d
Merge pull request #12547 from lioncash/movie
AdmiralCurtiss Jan 31, 2024
18abf7c
Merge pull request #12544 from lioncash/getmod
AdmiralCurtiss Jan 31, 2024
da6b5dd
Merge pull request #12546 from lioncash/event
AdmiralCurtiss Jan 31, 2024
14121c5
Core/ConfigManager: Remove dead bAutomaticStart flag.
AdmiralCurtiss Jan 31, 2024
438f5c3
Merge pull request #12548 from AdmiralCurtiss/dead-automatic-start
lioncash Jan 31, 2024
3a9860e
Merge pull request #12514 from SuperSamus/hidapi-submodule
AdmiralCurtiss Feb 1, 2024
951be30
Core: Fix booting titles from NAND.
AdmiralCurtiss Feb 1, 2024
24704fc
Merge pull request #12554 from AdmiralCurtiss/boot-nandtitle-fix
AdmiralCurtiss Feb 1, 2024
d96d2cd
Translation resources sync with Transifex
JosJuice Feb 1, 2024
085c4d1
CheatSearch: Remove redundant lambdas
mitaclaw Feb 2, 2024
353ceed
CustomPipeline: Resolve unused variable warning
lioncash Feb 1, 2024
5921158
CustomPipeline: Make use of emplace_back() in GlobalConflicts()
lioncash Feb 1, 2024
7096f99
CustomPipeline: Mark arrays as constexpr
lioncash Feb 1, 2024
161efff
AchievementManager: Remove long qualifier
lioncash Feb 1, 2024
394418b
AchievementManager: Remove unnecessary .get()
lioncash Feb 1, 2024
2b83cc7
AchievementManager: Convert .compare() into equality operators
lioncash Feb 1, 2024
76c381e
AchievementManager: Ensure update callback is always valid
lioncash Feb 1, 2024
184fe93
AchievementManager: std::move leaderboard info in FetchBoardInfo()
lioncash Feb 1, 2024
2d8af7b
AchievementManager: Replace memsets where applicable
lioncash Feb 1, 2024
c14414a
AchievementManager: clear name in CloseGame()/LogOut()
lioncash Feb 1, 2024
db80abb
AchievementManager: Tidy up GetRichPresence()
lioncash Feb 1, 2024
ea95c82
VertexLoaderManager: Remove unused entry struct
lioncash Feb 1, 2024
4f40bdf
VertexLoaderManager: Use fill() in Init()
lioncash Feb 1, 2024
3b01531
Merge pull request #12552 from lioncash/custom
AdmiralCurtiss Feb 2, 2024
df5baab
Merge pull request #12550 from lioncash/dead
AdmiralCurtiss Feb 3, 2024
4e3886e
Merge pull request #12557 from mitaclaw/cpu-thread-guarantees-1
AdmiralCurtiss Feb 3, 2024
abbc4bd
Merge pull request #12551 from lioncash/cheev
AdmiralCurtiss Feb 3, 2024
2bcf70a
InputCommon: Refactor away InputConfig::LoadConfig's switch case
JosJuice Feb 4, 2024
6cf55ab
InputCommon: Unify GetProfileName and GetProfileDirectoryName
JosJuice Feb 4, 2024
1315b54
InputCommon: Use distinct values for profile key
JosJuice Feb 4, 2024
9240f57
Merge pull request #12561 from JosJuice/profile-consistency
lioncash Feb 5, 2024
dce90c0
Merge commit '9240f579eab18a2f67eef23846a6b508393d0e6c' into upstream…
NikhilNarayana Feb 10, 2024
a07dd24
fix: post merge build failures
NikhilNarayana Feb 10, 2024
2cc0521
chore(ci): bump some versions
NikhilNarayana Feb 13, 2024
89133c8
build(linux): use linuxdeploy qt plugin
NikhilNarayana Feb 13, 2024
df9305c
build(windows): get rust extensions from correct build dir
NikhilNarayana Feb 13, 2024
ad8061b
ci(win): fix codesigntool download check
NikhilNarayana Feb 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 12 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
name: Verify SlippiRustExtensions Commit is in Main
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Main Branch Check
shell: bash
run: |
Expand All @@ -59,7 +59,7 @@ jobs:
runs-on: windows-2022
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
- id: rust_ver
Expand All @@ -72,7 +72,7 @@ jobs:
toolchain: ${{ steps.rust_ver.outputs.rust_ver }} # Pin to our specific Rust version.
rustflags: "" # Disable default injection of warnings = errors.
- name: Cache Utils
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
./CodeSignTool/
Expand Down Expand Up @@ -117,9 +117,9 @@ jobs:
echo "not release, skipping code signing"
exit 0;
}
mkdir CodeSignTool
cd .\CodeSignTool
if (!(Test-Path ".\CodeSignTool\CodeSignTool.bat" -PathType Leaf)) {
if (!(Test-Path ".\CodeSignTool\CodeSignTool.bat" -PathType Leaf)) {
mkdir CodeSignTool
cd .\CodeSignTool
Invoke-WebRequest -Uri https://www.ssl.com/download/codesigntool-for-windows/ -UseBasicParsing -OutFile ".\CodeSignTool.zip"
7z x CodeSignTool.zip
Remove-Item CodeSignTool.zip
Expand All @@ -136,7 +136,7 @@ jobs:
7z a $FILE_NAME .\*
move $FILE_NAME ..\..\artifact\
- name: "Publish"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact_name }}
path: "./artifact/"
Expand All @@ -158,7 +158,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
- id: rust_ver
Expand Down Expand Up @@ -216,6 +216,7 @@ jobs:
libegl1-mesa-dev \
libpng-dev \
qt6-base-private-dev \
libqt6svg6-dev \
libxxf86vm-dev \
x11proto-xinerama-dev \
libfuse2
Expand All @@ -240,7 +241,7 @@ jobs:
popd
mv "${FILE_NAME}" ./artifact/
- name: "Publish"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact_name }}
path: "./artifact/"
Expand All @@ -262,7 +263,7 @@ jobs:
runs-on: macos-12
steps:
- name: "Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
- id: rust_ver
Expand Down Expand Up @@ -349,7 +350,7 @@ jobs:
/usr/bin/codesign -f -s "${{ secrets.APPLE_IDENTITY_HASH }}" --deep --options runtime ./artifact/${{ env.FILE_NAME }}.dmg
chmod +x Tools/notarize_netplay.sh && ./Tools/notarize_netplay.sh ./artifact/${{ env.FILE_NAME }}.dmg
- name: "Publish"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact_name }}
path: "./artifact/"
Expand Down
24 changes: 24 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,27 @@
[submodule "Externals/SlippiRustExtensions"]
path = Externals/SlippiRustExtensions
url = https://github.com/project-slippi/slippi-rust-extensions.git
[submodule "Externals/rcheevos/rcheevos"]
path = Externals/rcheevos/rcheevos
url = https://github.com/RetroAchievements/rcheevos.git
[submodule "Externals/libadrenotools"]
path = Externals/libadrenotools
url = https://github.com/bylaws/libadrenotools.git
[submodule "Externals/curl/curl"]
path = Externals/curl/curl
url = https://github.com/curl/curl.git
[submodule "Externals/fmt/fmt"]
path = Externals/fmt/fmt
url = https://github.com/fmtlib/fmt.git
[submodule "Externals/lz4/lz4"]
path = Externals/lz4/lz4
url = https://github.com/lz4/lz4
[submodule "Externals/xxhash/xxHash"]
path = Externals/xxhash/xxHash
url = https://github.com/Cyan4973/xxHash.git
[submodule "Externals/enet/enet"]
path = Externals/enet/enet
url = https://github.com/lsalzman/enet.git
[submodule "hidapi-src"]
path = Externals/hidapi/hidapi-src
url = https://github.com/libusb/hidapi
11 changes: 10 additions & 1 deletion BuildMacOSUniversalBinary.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@
"steam": False,

# Whether our autoupdate functionality is enabled or not.
"autoupdate": True
"autoupdate": True,

# The distributor for this build.
"distributor": "None"
}

# Architectures to build for. This is explicity left out of the command line
Expand Down Expand Up @@ -136,6 +139,11 @@ def parse_args(conf=DEFAULT_CONFIG):
action=argparse.BooleanOptionalAction,
default=conf["autoupdate"])

parser.add_argument(
"--distributor",
help="Sets the distributor for this build",
default=conf["distributor"])

parser.add_argument(
"--codesign",
help="Code signing identity to use to sign the applications",
Expand Down Expand Up @@ -316,6 +324,7 @@ def build(config):
+ python_to_cmake_bool(config["steam"]),
"-DENABLE_AUTOUPDATE="
+ python_to_cmake_bool(config["autoupdate"]),
'-DDISTRIBUTOR=' + config['distributor']
],
env=env, cwd=arch)

Expand Down
2 changes: 2 additions & 0 deletions CMake/CheckAndAddFlag.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ function(check_and_add_flag var flag)
set(genexp_config_test "1")
if(ARGV2 STREQUAL "DEBUG_ONLY")
set(genexp_config_test "$<CONFIG:Debug>")
elseif(ARGV2 STREQUAL "NO_DEBINFO_ONLY")
set(genexp_config_test "$<NOT:$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>>")
elseif(ARGV2 STREQUAL "RELEASE_ONLY")
set(genexp_config_test "$<NOT:$<CONFIG:Debug>>")
elseif(ARGV2)
Expand Down
29 changes: 0 additions & 29 deletions CMake/CheckVendoringApproved.cmake

This file was deleted.

75 changes: 75 additions & 0 deletions CMake/DolphinLibraryTools.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,78 @@ function(dolphin_make_imported_target_if_missing target lib)
add_library(${target} ALIAS _${lib})
endif()
endfunction()

function(dolphin_optional_system_library library)
string(TOUPPER ${library} upperlib)
set(USE_SYSTEM_${upperlib} "" CACHE STRING "Use system ${library} instead of bundled. ON - Always use system and fail if unavailable, OFF - Always use bundled, AUTO - Use system if available, otherwise use bundled, blank - Delegate to USE_SYSTEM_LIBS. Default is blank.")
if("${USE_SYSTEM_${upperlib}}" STREQUAL "")
if(APPROVED_VENDORED_DEPENDENCIES)
string(TOLOWER ${library} lowerlib)
if(lowerlib IN_LIST APPROVED_VENDORED_DEPENDENCIES)
set(RESOLVED_USE_SYSTEM_${upperlib} AUTO PARENT_SCOPE)
else()
set(RESOLVED_USE_SYSTEM_${upperlib} ON PARENT_SCOPE)
endif()
else()
set(RESOLVED_USE_SYSTEM_${upperlib} ${USE_SYSTEM_LIBS} PARENT_SCOPE)
endif()
else()
set(RESOLVED_USE_SYSTEM_${upperlib} ${USE_SYSTEM_${upperlib}} PARENT_SCOPE)
endif()
endfunction()

function(dolphin_add_bundled_library library bundled_path)
string(TOUPPER ${library} upperlib)
if (${RESOLVED_USE_SYSTEM_${upperlib}} STREQUAL "AUTO")
message(STATUS "No system ${library} was found. Using static ${library} from Externals.")
else()
message(STATUS "Using static ${library} from Externals")
endif()
if (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${bundled_path}/CMakeLists.txt")
message(FATAL_ERROR "No bundled ${library} was found. Did you forget to checkout submodules?")
endif()
add_subdirectory(${bundled_path} EXCLUDE_FROM_ALL)
endfunction()

function(dolphin_find_optional_system_library library bundled_path)
dolphin_optional_system_library(${library})
string(TOUPPER ${library} upperlib)
if(RESOLVED_USE_SYSTEM_${upperlib})
find_package(${library} ${ARGN})
# Yay for cmake packages being inconsistent
if(DEFINED ${library}_FOUND)
set(prefix ${library})
else()
set(prefix ${upperlib})
endif()
if((NOT ${found}) AND (NOT ${RESOLVED_USE_SYSTEM_${upperlib}} STREQUAL "AUTO"))
message(FATAL_ERROR "No system ${library} was found. Please install it or set USE_SYSTEM_${upperlib} to AUTO or OFF.")
endif()
endif()
if(${prefix}_FOUND)
message(STATUS "Using system ${library}")
set(${prefix}_TYPE "System" PARENT_SCOPE)
else()
dolphin_add_bundled_library(${library} ${bundled_path})
set(${prefix}_TYPE "Bundled" PARENT_SCOPE)
endif()
endfunction()

function(dolphin_find_optional_system_library_pkgconfig library search alias bundled_path)
dolphin_optional_system_library(${library})
string(TOUPPER ${library} upperlib)
if(RESOLVED_USE_SYSTEM_${upperlib})
pkg_check_modules(${library} ${search} ${ARGN} IMPORTED_TARGET)
if((NOT ${library}_FOUND) AND (NOT ${RESOLVED_USE_SYSTEM_${upperlib}} STREQUAL "AUTO"))
message(FATAL_ERROR "No system ${library} was found. Please install it or set USE_SYSTEM_${upperlib} to AUTO or OFF.")
endif()
endif()
if(${library}_FOUND)
message(STATUS "Using system ${library}")
dolphin_alias_library(${alias} PkgConfig::${library})
set(${library}_TYPE "System" PARENT_SCOPE)
else()
dolphin_add_bundled_library(${library} ${bundled_path})
set(${library}_TYPE "Bundled" PARENT_SCOPE)
endif()
endfunction()
2 changes: 1 addition & 1 deletion CMake/FindCUBEB.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(CUBEB DEFAULT_MSG
CUBEB_INCLUDE_DIR CUBEB_LIBRARY)

if(CUBEB_FOUND AND NOT TARGET CUBEB)
if(CUBEB_FOUND AND NOT TARGET cubeb::cubeb)
add_library(cubeb::cubeb UNKNOWN IMPORTED)
set_target_properties(cubeb::cubeb PROPERTIES
IMPORTED_LOCATION "${CUBEB_LIBRARY}"
Expand Down
101 changes: 101 additions & 0 deletions CMake/FindIconv.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
# Based on CMake's FindIconv.cmake
# Modified to prefer non-built-in iconv over the built-in one
# See https://gitlab.kitware.com/cmake/cmake/-/issues/24695 for details
# This file can be deleted once that issue has been closed and the fix has
# made it into a satisfactory number of cmake versions. FreeBSD is the only
# system known to hit this so far, so "satisfactory" can probably be defined
# as "enough that most FreeBSD users have a fixed cmake".

find_path(Iconv_INCLUDE_DIR
NAMES "iconv.h"
DOC "iconv include directory")
mark_as_advanced(Iconv_INCLUDE_DIR)

find_library(Iconv_LIBRARY
NAMES iconv libiconv
NAMES_PER_DIR
DOC "iconv library (if not in the C library)")
mark_as_advanced(Iconv_LIBRARY)

# iconv can only be provided in libc on a POSIX system.
if(UNIX AND (NOT Iconv_INCLUDE_DIR OR NOT Iconv_LIBRARY))
include(CMakePushCheckState)
include(CheckCXXSourceCompiles)
cmake_push_check_state(RESET)
# We always suppress the message here: Otherwise on supported systems
# not having iconv in their C library (e.g. those using libiconv)
# would always display a confusing "Looking for iconv - not found" message
set(CMAKE_FIND_QUIETLY TRUE)
# The following code will not work, but it's sufficient to see if it compiles.
# Note: libiconv will define the iconv functions as macros, so CheckSymbolExists
# will not yield correct results.
set(Iconv_IMPLICIT_TEST_CODE
"
#include <stddef.h>
#include <iconv.h>
int main() {
char *a, *b;
size_t i, j;
iconv_t ic;
ic = iconv_open(\"to\", \"from\");
iconv(ic, &a, &i, &b, &j);
iconv_close(ic);
}
"
)
check_cxx_source_compiles("${Iconv_IMPLICIT_TEST_CODE}" Iconv_IS_BUILT_IN)
cmake_pop_check_state()
if(Iconv_IS_BUILT_IN)
unset(Iconv_INCLUDE_DIR)
unset(Iconv_LIBRARY)
endif()
else()
set(Iconv_IS_BUILT_IN FALSE)
endif()

set(_Iconv_REQUIRED_VARS)
if(Iconv_IS_BUILT_IN)
set(_Iconv_REQUIRED_VARS _Iconv_IS_BUILT_IN_MSG)
set(_Iconv_IS_BUILT_IN_MSG "built in to C library")
else()
set(_Iconv_REQUIRED_VARS Iconv_LIBRARY Iconv_INCLUDE_DIR)
endif()

# NOTE: glibc's iconv.h does not define _LIBICONV_VERSION
if(Iconv_INCLUDE_DIR AND EXISTS "${Iconv_INCLUDE_DIR}/iconv.h")
file(STRINGS ${Iconv_INCLUDE_DIR}/iconv.h Iconv_VERSION_DEFINE REGEX "_LIBICONV_VERSION (.*)")

if(Iconv_VERSION_DEFINE MATCHES "(0x[A-Fa-f0-9]+)")
set(Iconv_VERSION_NUMBER "${CMAKE_MATCH_1}")
# encoding -> version number: (major<<8) + minor
math(EXPR Iconv_VERSION_MAJOR "${Iconv_VERSION_NUMBER} >> 8" OUTPUT_FORMAT HEXADECIMAL)
math(EXPR Iconv_VERSION_MINOR "${Iconv_VERSION_NUMBER} - (${Iconv_VERSION_MAJOR} << 8)" OUTPUT_FORMAT HEXADECIMAL)

math(EXPR Iconv_VERSION_MAJOR "${Iconv_VERSION_MAJOR}" OUTPUT_FORMAT DECIMAL)
math(EXPR Iconv_VERSION_MINOR "${Iconv_VERSION_MINOR}" OUTPUT_FORMAT DECIMAL)
set(Iconv_VERSION "${Iconv_VERSION_MAJOR}.${Iconv_VERSION_MINOR}")
endif()

unset(Iconv_VERSION_DEFINE)
unset(Iconv_VERSION_NUMBER)
endif()

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Iconv
REQUIRED_VARS ${_Iconv_REQUIRED_VARS}
VERSION_VAR Iconv_VERSION)

if(Iconv_FOUND)
if(Iconv_IS_BUILT_IN)
set(Iconv_INCLUDE_DIRS "")
set(Iconv_LIBRARIES "")
else()
set(Iconv_INCLUDE_DIRS "${Iconv_INCLUDE_DIR}")
set(Iconv_LIBRARIES "${Iconv_LIBRARY}")
endif()
if(NOT TARGET Iconv::Iconv)
add_library(Iconv::Iconv INTERFACE IMPORTED)
set_property(TARGET Iconv::Iconv PROPERTY INTERFACE_INCLUDE_DIRECTORIES "${Iconv_INCLUDE_DIRS}")
set_property(TARGET Iconv::Iconv PROPERTY INTERFACE_LINK_LIBRARIES "${Iconv_LIBRARIES}")
endif()
endif()
15 changes: 15 additions & 0 deletions CMake/FindLZO.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
find_path(LZO_INCLUDE_DIR lzo/lzo1x.h)
find_library(LZO_LIBRARY lzo2)
mark_as_advanced(LZO_INCLUDE_DIR LZO_LIBRARY)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(LZO DEFAULT_MSG
LZO_INCLUDE_DIR LZO_LIBRARY)

if(LZO_FOUND AND NOT TARGET LZO::LZO)
add_library(LZO::LZO UNKNOWN IMPORTED)
set_target_properties(LZO::LZO PROPERTIES
IMPORTED_LOCATION "${LZO_LIBRARY}"
INTERFACE_INCLUDE_DIRECTORIES "${LZO_INCLUDE_DIR}"
)
endif()
Loading