Fernando Sahmkow
67e0d38152
Vulkan: Fix regression caused by limiting render area to width/height of rendef targets.
2022-10-30 21:24:28 +01:00
Liam
808e22984f
vk_blit_screen: recreate swapchain images on guest format change
2022-10-30 15:04:16 -04:00
Morph
e09756b2df
Merge pull request #9151 from liamwhite/dram-size
...
kernel: reinitialize after dram layout change
2022-10-30 13:23:57 -04:00
Liam
8f00c59462
kernel: reinitialize after dram layout change
2022-10-30 11:01:22 -04:00
liamwhite
1cdd2d5204
Merge pull request #9091 from Docteh/what_compat_list
...
UI: Add option to hide the compatibility list
2022-10-30 09:17:16 -04:00
bunnei
ccfdb7c1af
Merge pull request #9149 from german77/volum
...
service: am: Stub SetRecordVolumeMuted
2022-10-29 23:36:15 -07:00
german77
6f0f7f1547
service: am: Stub SetRecordVolumeMuted
...
Used by bayonetta 3
2022-10-30 00:34:33 -05:00
Liam
d867ae5ab6
k_server_session: fix crashes
2022-10-29 23:05:56 -04:00
bunnei
c4d91488d9
Merge pull request #9137 from liamwhite/hbmenu
...
Improved support for nx-hbmenu
2022-10-29 16:11:26 -07:00
bunnei
72bff8ba11
Merge pull request #9140 from vonchenplus/darw_index_bufferx_first_error
...
video_core: Fix drawing trigger mechanism regression
2022-10-29 16:10:53 -07:00
bunnei
84d15c7f47
Merge pull request #9127 from vonchenplus/vulkan_clear
...
video_core: Catch vulkan clear op not all channel need clear
2022-10-27 19:19:40 -07:00
Robin Kertels
dce242858a
vk_scheduler: Remove recorded_counts
2022-10-28 03:42:43 +02:00
liamwhite
8ce6256722
Merge pull request #9138 from liamwhite/hbl-stacktrace
...
arm_interface: curb infinite recursion in stacktrace generation
2022-10-27 20:07:48 -04:00
Liam
3e6840a74c
arm_interface: curb infinite recursion in stacktrace generation
2022-10-27 16:01:05 -04:00
bunnei
25d53e66d1
Merge pull request #9115 from vonchenplus/game_name_by_language
...
file_sys: Priority display of game titles in the current language
2022-10-27 11:33:02 -07:00
bunnei
20118075c5
Merge pull request #9126 from vonchenplus/revert-8068-shader-if-false
...
Revert "shader_recompiler/dead_code_elimination: Add DeadBranchElimination pass"
2022-10-27 10:11:02 -07:00
Liam
2cdfbbc07d
nvnflinger: release queued handles immediately on disconnection
2022-10-27 08:28:02 -04:00
Liam
cdb9fe978f
vi: implement CloseDisplay
2022-10-27 08:27:38 -04:00
liamwhite
86a3a0b1b4
Merge pull request #9134 from lioncash/init
...
audio_in/out_system: Pass Initialize members by value where applicable
2022-10-27 08:10:24 -04:00
FengChen
f6e7cae62c
video_core: Fix drawing trigger mechanism regression
2022-10-27 13:26:52 +08:00
bunnei
2dd6a2352d
Merge pull request #9125 from liamwhite/dummy-scheduler
...
kernel: refactor dummy thread wakeups
2022-10-26 09:51:44 -07:00
Lioncash
e0ec9ffc36
audio_in/out_system: Pass Initialize members by value where applicable
...
applet_resource_user_id isn't actually modified and is just assigned to
a member variable, so this doesn't need to be a mutable reference.
Similarly, the device name itself isn't modified and is only moved. We
pass by value here, since we can still perform the move, but eliminate a
sneaky set of calls that can unintentionally destroy the original
string. Given how nested the calls are, it's good to get rid of this
potential vector for a use-after-move bug.
2022-10-26 11:21:48 -04:00
Morph
8b4d5aeb4f
concepts: Use the std::contiguous_iterator concept
...
This also covers std::span, which does not have a const iterator.
Also renames IsSTLContainer to IsContiguousContainer to explicitly convey its semantics.
2022-10-26 00:41:54 -04:00
liamwhite
d8e3380ea5
Merge pull request #9128 from abouvier/patch-1
...
tests: fix for -Wall
2022-10-25 12:36:25 -04:00
liamwhite
e59bd6c335
Merge pull request #9113 from german77/peer_pressure
...
service: nfp: Allow amiibos without keys
2022-10-25 12:13:31 -04:00
liamwhite
77803d96be
Merge pull request #9107 from german77/gidoly_rules
...
input_common: cache vibration tests
2022-10-25 12:13:18 -04:00
Alexandre Bouvier
fa9b7db76f
tests: fix for -Wall
...
Fix #9123
2022-10-25 15:20:23 +00:00
FengChen
0ec1801bc1
video_core: Catch vulkan clear op not all channel need clear
2022-10-25 22:39:29 +08:00
liamwhite
fa913a702f
Merge pull request #9112 from vonchenplus/deferred_draw
...
video_core: Reimplementing the maxwell drawing trigger mechanism
2022-10-25 09:42:59 -04:00
liamwhite
3c38bd7cf0
Merge pull request #9119 from liamwhite/shutdown-barrier
...
core: barrier service thread shutdown
2022-10-25 06:45:51 -04:00
Feng Chen
165bce3c2d
Revert "shader_recompiler/dead_code_elimination: Add DeadBranchElimination pass"
2022-10-25 12:57:25 +08:00
Liam
1a378a7769
kernel: refactor dummy thread wakeups
2022-10-24 19:52:01 -04:00
bunnei
cbb6c24215
Merge pull request #8873 from vonchenplus/fix_legacy_location_error
...
video_core: Fix legacy to generic location unpaired
2022-10-24 10:50:24 -07:00
FengChen
1689e0a71f
file_sys: Priority display of game titles in the current language
2022-10-24 21:55:25 +08:00
Fernando S
2e782a154d
Merge pull request #9122 from liamwhite/burnt-chicken
...
nvdrv: fix container destruction order
2022-10-24 12:41:46 +02:00
Liam
05f2673648
nvdrv: fix container destruction order
2022-10-23 19:25:57 -04:00
Liam
2d90a927c9
core: barrier service thread shutdown
2022-10-23 05:45:45 -04:00
german77
2ccbf5abdd
core: hid: Add handheld to nfc devices
2022-10-22 14:05:00 -05:00
Morph
120cd450e5
CMakeLists: Disable -Wbraced-scalar-init on Clang
...
Clang erroneously emits this warning when using designated initializers.
2022-10-22 15:02:04 -04:00
Morph
f51c71e956
yuzu: Resolve -Wpessimizing-move
2022-10-22 15:02:04 -04:00
Morph
bb31b0f261
startup_checks: Resolve -Wstringop-truncation
...
Copies up to sizeof(p_name) - 1 in strncpy and null terminates it at p_name[254]
2022-10-22 15:02:04 -04:00
Morph
f86774c1ac
startup_checks: Resolve -Wformat
2022-10-22 15:02:04 -04:00
Morph
42c4ef7373
general: Resolve -Wunused-but-set-variable
2022-10-22 15:02:04 -04:00
Morph
c7e079a5d4
general: Resolve -Wunused-lambda-capture and C5233
2022-10-22 15:02:04 -04:00
Morph
6908ea2284
general: Resolve -Wclass-memaccess
2022-10-22 15:02:04 -04:00
Morph
347432524c
ipc_helpers: Ignore GCC compiler warnings only on GCC
...
Clang and ICC for whatever reason also defines __GNUC__. Exclude them from this check.
2022-10-22 15:02:04 -04:00
Morph
b02c3f2314
CMakeLists: Enforce C5233 on MSVC
...
This is similar to Clang's -Wunused-lambda-capture
2022-10-22 15:02:04 -04:00
Morph
3822e31323
CMakeLists: Disable C4100 and C4324
...
Disabling C4100 is similar to -Wno-unused-parameter
2022-10-22 15:02:04 -04:00
Morph
cae108404a
CMakeLists: Remove redundant warnings
...
These warnings are already included in /W3.
2022-10-22 15:02:04 -04:00
Morph
bad3025951
decoders: Use 2's complement instead of unary -
...
Resolves C4146 on MSVC
2022-10-22 15:02:04 -04:00
Morph
f3c40f4a20
CMakeLists: Treat MSVC warnings as errors
2022-10-22 15:02:04 -04:00
Morph
e6ab1f673b
general: Enforce C4800 everywhere except in video_core
2022-10-22 15:02:04 -04:00
Morph
93297d14d8
CMakeLists: Remove all redundant warnings
...
These are already explicitly or implicitly set in src/CMakeLists.txt
2022-10-22 15:02:04 -04:00
Morph
91c410c918
CMakeLists: Consolidate all unused warnings into -Wunused
2022-10-22 15:02:04 -04:00
Morph
496695618a
CMakeLists: Treat -Wall and -Wextra as errors
2022-10-22 15:02:04 -04:00
Fernando S
0860fffd78
Merge pull request #9095 from FernandoS27/meat-good-vegetable-bad
...
Maxwell3D/Puller: Fix regressions and syncing issues.
2022-10-22 13:06:03 +02:00
FengChen
2f90694797
video_core: Implement maxwell inline_index method
2022-10-22 16:58:23 +08:00
Narr the Reg
3e0aaeba98
service: nfp: Allow amiibos without keys
2022-10-21 23:08:07 -05:00
Narr the Reg
82fdfb33ac
service: nfp: remove unnecessary include
2022-10-21 21:54:31 -05:00
FengChen
1f54cd4ac7
video_coare: Reimplementing the maxwell drawing trigger mechanism
2022-10-21 17:09:22 +08:00
liamwhite
efaedcab31
Merge pull request #9106 from lioncash/copy-err
...
hid/npad: Fix copy size in GetSupportedNpadIdTypes
2022-10-21 03:47:02 -04:00
liamwhite
49682a0481
Merge pull request #9108 from Morph1984/r32-b24g8
...
format_lookup_table: Implement R32_B24G8 with D32_FLOAT_S8_UINT
2022-10-21 03:45:49 -04:00
Lioncash
93a7058d8e
k_session_request: Add missing override specifier
2022-10-21 01:56:14 -04:00
Morph
f16db300c6
format_lookup_table: Implement R32_B24G8 with D32_FLOAT_S8_UINT
...
This format is similar to Z32_FLOAT_X24S8_UINT, which is implemented with D32_FLOAT_S8_UINT.
Used in Persona 5 Royal
2022-10-21 01:54:57 -04:00
Lioncash
969387a79a
k_session_request: Turn C-style array into std::array
...
Makes for stronger typing and allows tooling bounds checks provided by
the standard library for debugging purposes.
2022-10-21 01:54:34 -04:00
Lioncash
3968faec06
k_session_request: Simplify constructor initialization
2022-10-21 01:53:10 -04:00
german77
7f66050f0c
input_common: cache vibration tests
2022-10-21 00:24:08 -05:00
Lioncash
0b181eeef4
hid/npad: Fix copy size in GetSupportedNpadIdTypes
...
Previously this was passing the size of the vector into memcpy rather
than the size in bytes to copy, which would result in a partial read.
Thankfully, this function isn't used yet, so this gets rid of a bug
before it's able to do anything.
2022-10-21 00:09:22 -04:00
liamwhite
a6628e8dba
Merge pull request #9078 from liamwhite/session-request
...
kernel: Session request cleanup
2022-10-20 18:07:30 -04:00
liamwhite
9e16837088
Merge pull request #9099 from Docteh/undocked
...
Controller Applet had instance of Undocked, make Handheld
2022-10-20 18:05:05 -04:00
bunnei
c0b1bdd237
Merge pull request #9096 from Kelebek1/audio_15
...
[audio_core] Update for firmware 15.0.0
2022-10-20 13:17:26 -07:00
Kyle Kienapfel
d4c0b7b437
Controller Applet had instance of Undocked, make Handheld
...
Remember that time we renamed the Undocked option to Handheld in the
status bar, and then later remembered the Controller Configuration?
Scrolling through Transifex I noticed that we still have one instance of
"Undocked" in the text.
2022-10-20 06:55:23 -07:00
liamwhite
7daf751b8d
Merge pull request #9094 from lioncash/fixed
...
common/fixed_point: Minor interface improvements
2022-10-19 19:00:59 -04:00
Liam
9524e28d20
video_core: don't build ASTC decoder shader unless requested
2022-10-19 18:52:42 -04:00
Liam
fca195b4fb
kernel: remove most SessionRequestManager handling from KServerSession
2022-10-19 16:31:12 -04:00
Liam
3efb8eb2dc
kernel: add KSessionRequest
2022-10-19 16:31:12 -04:00
liamwhite
5ffb8b8039
Merge pull request #9082 from Morph1984/future
...
savedata_factory: Detect future save data paths
2022-10-19 16:28:42 -04:00
liamwhite
925fb63478
Merge pull request #9083 from liamwhite/take-a-chance-on-me
...
kernel: fix slab heap ABA
2022-10-19 16:27:59 -04:00
liamwhite
560bca57a2
Merge pull request #9071 from bunnei/mp-mm
...
Kernel Multiprocess (Part 1) - Persist memory & core timing
2022-10-19 16:27:43 -04:00
bunnei
97879faea4
core: hle: kernel: Migrate ProcessState to enum class.
2022-10-19 14:03:50 -04:00
Kyle Kienapfel
470e89a8ed
UI: Add option to hide the compatibility list
...
Option is added directly below the option for the addons column
Defaulting to hide compatibility list. Changing default works properly.
Co-authored-by: Piplup <piplup55@users.noreply.github.com>
2022-10-19 03:51:51 -07:00
Kelebek1
7bd3930939
Update audio_core for firmware 15.0.0
2022-10-19 06:16:15 +01:00
Fernando S
b8a70c9999
Merge pull request #9084 from vonchenplus/dma_copy
...
video_core: implement 1D copies based on VMM 'kind'
2022-10-19 06:56:00 +02:00
Fernando Sahmkow
3cb4498142
Maxwell3D/Puller: Fix regressions and syncing issues.
2022-10-19 06:21:51 +02:00
bunnei
a264b54022
core: Initialize: Add missing braces.
2022-10-18 19:13:35 -07:00
bunnei
638fa6170a
core: core_timing: Re-initialize if single/multicore state changes.
2022-10-18 19:13:35 -07:00
bunnei
11f85ea713
core: core_timing: Remove unused IsHostTiming.
2022-10-18 19:13:35 -07:00
bunnei
829e82e264
core: hle: kernel: Use result macros for new/changed code.
2022-10-18 19:13:35 -07:00
bunnei
a4d11f4427
core: Partially persist emulation state across game boots.
2022-10-18 19:13:35 -07:00
bunnei
1b787adbd0
core: hle: kernel: Fix InitializePreemption order.
2022-10-18 19:13:35 -07:00
bunnei
abcc009dff
core: hle: kernel: k_process: Improve management of page table & cleanup.
2022-10-18 19:13:35 -07:00
bunnei
79bcb38321
core: hle: kernel: k_interrupt_manager: HandleInterrupt should not depend on current process.
2022-10-18 19:13:35 -07:00
bunnei
8d4e026d05
core: hle: kernel: Remove junk.
2022-10-18 19:13:35 -07:00
bunnei
ff26190d42
core: hle: kernel: k_page_table: Impl. LockForUn/MapDeviceAddressSpace, cleanup.
2022-10-18 19:13:35 -07:00
bunnei
d00245d444
video_core: renderer_vulkan: vk_query_cache: Avoid shutdown crash in QueryPool::Reserve.
2022-10-18 19:13:35 -07:00
bunnei
1baedfa12c
core: hle: kernel: Integration application memory block slab manager.
2022-10-18 19:13:34 -07:00
bunnei
ed591934fb
core: hle: kernel: k_page_table: Update, and integrate with new KMemoryBlockManager/SlabManager.
2022-10-18 19:13:34 -07:00
bunnei
58eb6953d1
core: hle: kernel: k_memory_block: Update.
2022-10-18 19:13:34 -07:00
bunnei
2bb41cffca
core: hle: kernel: k_memory_block_manager: Update.
2022-10-18 19:13:34 -07:00
bunnei
57a77e9ff4
core: hle: kernel: k_thread: Implement thread termination DPC.
2022-10-18 19:13:34 -07:00
bunnei
d02ccfb15d
core: hle: kernel: Add KDynamicResourceManager.
2022-10-18 19:13:34 -07:00
bunnei
9ec5f75f43
core: hle: kernel: Add KDynamicSlabHeap.
2022-10-18 19:13:34 -07:00
bunnei
345b9e6a08
core: hle: kernel: Add KDynamicPageManager.
2022-10-18 19:13:34 -07:00
bunnei
25dcaf1eca
core: hle: kernel: k_process: Change Status -> State.
2022-10-18 19:13:34 -07:00
bunnei
113a5ed68f
core: hle: kernel: svc_types: Add SystemThreadPriorityHighest and ProcessState.
2022-10-18 19:13:34 -07:00
bunnei
47b8160666
core: device_memory: Templatize GetPointer(..).
2022-10-18 19:13:34 -07:00
bunnei
cb073f95dc
core: hle: result: Add GetInnerValue and Includes methods.
2022-10-18 19:13:34 -07:00
bunnei
e63a5459e3
core: hle: kernel: svc_common: Add WaitInfinite & cleanup.
2022-10-18 19:13:34 -07:00
Lioncash
6e1c6297a3
fixed_point: Mark default constructor as constexpr
...
Ensures that a fixed-point value is always initialized
This likely also fixes several cases of uninitialized values being
operated on, since we have multiple areas in the codebase where the
default constructor is being used like:
Common::FixedPoint<50, 14> current_sample{};
and is then followed up with an arithmetic operation like += or
something else, which operates directly on FixedPoint's internal data
member, which would previously be uninitialized.
2022-10-18 16:06:50 -04:00
Lioncash
b6119a55f9
fixed_point: Mark copy/move assignment operators and constructors as constexpr
...
Given these are just moving a raw value around, these can sensibly be
made constexpr to make the interface more useful.
2022-10-18 16:06:50 -04:00
Lioncash
0cfd90004b
fixed_point: Mark std::swap and move constructor as noexcept
...
These shouldn't throw and can influence how some standard algorithms
will work.
2022-10-18 16:06:50 -04:00
Lioncash
2cc9d94060
fixed_point: Mark relevant member function [[nodiscard]]
...
Marks member functions as discard, where ignoring the return value would
be indicative of a bug or dead code.
2022-10-18 16:06:50 -04:00
Lioncash
0101ef9fb1
fixed_point: Make to_uint() non-const
...
This calls round_up(), which is a non-const member function, so if a
fixed-point instantiation ever calls to_uint(), it'll result in a
compiler error.
This allows the member function to work.
While we're at it, we can actually mark to_long_floor() as const, since
it's not modifying any member state.
2022-10-18 16:06:50 -04:00
Lioncash
9393f90ccf
fixed_point: Use defaulted comparisons
...
Collapses all of the comparison functions down to a single line.
2022-10-18 16:06:50 -04:00
Lioncash
5000d814af
fixed_point: Use variable templates and concepts where applicable
...
Makes a few things a little less noisy and removes the need for SFINAE
in quite a few functions.
2022-10-18 16:06:46 -04:00
bunnei
8649c46c74
Merge pull request #9054 from Docteh/just_lz4
...
CMake: Try add_library "lz4" if "lz4::lz4" is unavailable
2022-10-17 22:51:26 -07:00
bunnei
1deb997eba
Merge pull request #9087 from Morph1984/once
...
general: Add missing pragma once
2022-10-17 22:50:02 -07:00
Liam
282cd3e5fe
kernel: fix slab heap ABA
2022-10-17 17:53:32 -04:00
FengChen
23b6569fc2
video_core: implement 1D copies based on VMM 'kind'
2022-10-17 15:35:12 +08:00
FengChen
99507d0188
video_core: Implement memory manager page kind
2022-10-17 15:33:29 +08:00
Morph
88ccdaf10a
fixed_point: Replace CONSTEXPR14 with constexpr
...
As we require the latest C++ standards to compile yuzu, checking for C++14 constexpr is not needed.
2022-10-17 03:16:54 -04:00
Morph
bffbaddb79
general: Add missing pragma once
2022-10-17 03:14:31 -04:00
Morph
2f37c7948f
Merge pull request #9079 from Morph1984/unknown-unkowns
...
general: Fix spelling
2022-10-17 02:56:58 -04:00
Morph
ae453ab6a8
savedata_factory: Detect future save data paths
...
Enable compatibility for new account/device save paths planned on a future implementation.
2022-10-16 23:49:55 -04:00
FengChen
20139f8a55
Address feedback
2022-10-17 09:40:44 +08:00
lat9nq
4b773b15a6
sdl2_sink: Inline variable init into if condition
...
Co-authored-by: Mai <mathew1800@gmail.com>
2022-10-16 21:36:40 -04:00
lat9nq
9fe077635e
sdl2_sink: Distinguish between capture and non-capture device names
...
The function prototype appears to care whether we are loading capture
devices or not, and SDL_GetAudioDeviceName has a parameter to use it,
but for some reason it isn't.
This puts `capture` where it goes.
2022-10-16 03:15:54 -04:00
lat9nq
5c7eef3756
sdl2_sink: Check for null string when loading SDL audio devices
...
Attempting to place a null string into a vector of strings causes an
error that closes the application.
Don't.
2022-10-16 03:14:52 -04:00
Morph
ddf5577799
video_core: Fix spelling of "synchronize"
2022-10-16 00:50:53 -04:00
Morph
f706b3bd24
general: Fix spelling of "unknown"
2022-10-16 00:46:22 -04:00
Kyle Kienapfel
0ba03d1b3a
fix a tiny spelling mistake
...
Kreato pointed this out over on discord.
2022-10-15 14:58:44 -07:00
liamwhite
ae6dd1143c
Merge pull request #9061 from liamwhite/writable-event
...
kernel: remove KWritableEvent
2022-10-14 17:30:38 -04:00
liamwhite
1d38109714
Merge pull request #9055 from liamwhite/hbl
...
Preliminary support for nx-hbloader
2022-10-14 17:30:11 -04:00
Narr the Reg
d2170075e6
audio_core: Revert sink name to sdl2
2022-10-14 10:59:33 -05:00
Kyle Kienapfel
40af1111c2
CMake: Try add library "LZ4::lz4_shared" if "lz4::lz4" is unavailable
...
Right now this looks like a distro specific problem, but we'll have to see.
Over on Gentoo: with lz4 1.9.3 there is a lz4::lz4 library target, with 1.9.4 it's no longer
mentioned in the cmake files provided by the package. (/usr/lib64/cmake/lz4)
arch and openSUSE have lz4 1.9.4 available so I checked there,
they only have .pc files for pkg-config, so asking for "lz4::lz4" works as usual
MSVC does require "lz4::lz4" to be asked for
2022-10-13 17:23:47 -07:00
liamwhite
553be194f6
Merge pull request #9067 from Morph1984/tess-cw
...
renderer_(opengl/vulkan): Fix tessellation clockwise parameter
2022-10-13 20:12:31 -04:00
liamwhite
048d3e2404
Merge pull request #9039 from Kelebek1/auto_backend
...
Auto select the SDL audio backend when Cubeb latency is too high
2022-10-13 20:12:22 -04:00
liamwhite
3c925a7282
Merge pull request #9032 from liamwhite/stub-friends
...
IFriendService: stub CheckFriendListAvailability
2022-10-13 20:12:08 -04:00
Mai
e37d00332c
Merge pull request #9065 from liamwhite/result-mess
...
result: enforce reference check specialization
2022-10-13 19:54:10 +00:00
Morph
d3114c620d
renderer_(opengl/vulkan): Fix tessellation clockwise parameter
...
This should be assigned CW only on Triangles_CW rather than not Triangles_CCW, making CCW the default winding order rather than CW.
2022-10-13 15:52:56 -04:00
Morph
e2164f3417
settings: Update aspect_ratio range
...
Since 16:10 was added, the maximum value is now 4.
2022-10-13 12:24:04 -04:00
Liam
c0fb5e876d
result: enforce reference check specialization
2022-10-13 12:10:39 -04:00
Liam
a9ace6856d
kernel: remove KWritableEvent
2022-10-12 20:29:29 -04:00
bunnei
64c2ccb0cb
Merge pull request #9034 from liamwhite/result-macros
...
kernel: add expanded result macros
2022-10-12 17:11:07 -07:00
bunnei
dbacb31f61
Merge pull request #9027 from yuzu-emu/revert-8987-another-name-for-reinforcement-steel
...
Revert "vulkan: automatically use larger staging buffer sizes when possible"
2022-10-12 15:36:56 -07:00
bunnei
0b9f2c2f14
Merge pull request #9040 from liamwhite/woe-thirty-two
...
core_timing: use high-precision sleeps on non-Windows targets
2022-10-12 15:35:06 -07:00
bunnei
e158167139
Merge pull request #9024 from liamwhite/async-screenshot
...
video_core: don't block rendering on screenshots
2022-10-12 13:26:32 -07:00
bunnei
3da4280e81
Merge pull request #9047 from german77/steam-aspect
...
yuzu: Add 16:10 aspect ratio
2022-10-12 12:54:23 -07:00
bunnei
77177a7e33
Merge pull request #9049 from liamwhite/monkeyhawk
...
syncpoint_manager: ensure handle is removable before removing
2022-10-12 12:34:22 -07:00
Liam
61a8696510
k_server_session: preliminary support for userspace server sessions
2022-10-11 18:40:40 -04:00
Liam
9b34afa588
Add implementation of svcCreateSession
2022-10-11 18:15:45 -04:00
Liam
6bcd676b61
general: preliminary support for hbl
2022-10-11 18:15:30 -04:00
Liam
b1cd6cec19
syncpoint_manager: ensure handle is removable before removing
2022-10-10 19:22:26 -04:00
Kelebek1
4496030ea9
Fix stencil func registers, make clip control equivalent to how it was before, but surely wrong.
2022-10-10 20:59:57 +01:00
Narr the Reg
eb74ef474b
yuzu: Add 16:10 aspect ratio
2022-10-10 13:32:33 -05:00
liamwhite
c3cae9d992
Merge pull request #9043 from german77/vector_data
...
input_common: have an unique vector in callback status
2022-10-09 17:46:45 -04:00
german77
224a19758e
input_common: have an unique vector in callback status
2022-10-09 12:49:18 -05:00
Kelebek1
8c9e238a7b
Choose the SDL audio backend when Cubeb reports too high of a latency
2022-10-09 13:47:59 +01:00
Fernando S
55e6d0dae0
Merge pull request #8766 from Kelebek1/regs
...
[video_core] Update 3D registers
2022-10-09 07:04:03 +02:00
Liam
9632434243
core_timing: use high-precision sleeps on non-Windows targets
2022-10-08 18:27:40 -04:00
Liam
47a2efee73
kernel: add expanded result macros
2022-10-08 12:41:27 -04:00
Liam
5b7c0f13d3
fsp_srv: stub GetCacheStorageSize
2022-10-08 12:24:00 -04:00
Liam
ddf64e56af
IFriendService: stub CheckFriendListAvailability
2022-10-07 22:19:41 -04:00
Mai
155213484b
Merge pull request #9016 from liamwhite/drunken-schedule
...
vk_scheduler: wait for command processing to complete
2022-10-07 20:27:16 -04:00
Mai
6f101e0f02
Merge pull request #9030 from Morph1984/api-disable
...
configure_graphics: Fix graphics API selection when a game is running
2022-10-07 20:25:23 -04:00
liamwhite
972b93bf00
Merge pull request #8807 from Docteh/default_fonts
...
Qt: work around Qt5's font choice for Chinese (in Windows)
2022-10-07 17:39:39 -04:00
Liam
a5476541f2
video_core: don't block rendering on screenshots
2022-10-07 17:33:59 -04:00
Morph
1e35ade1ec
configure_graphics: Fix graphics API selection when a game is running
...
The graphics API setting should not be changed when a game is running.
2022-10-07 15:11:26 -04:00
Kelebek1
752659aef3
Update 3D regs
2022-10-07 14:13:45 +01:00
Liam
9574429c5f
nfp_types: silence -Wtype-limits
2022-10-07 06:52:28 -04:00
liamwhite
20cf09471a
Revert "vulkan: automatically use larger staging buffer sizes when possible"
2022-10-07 04:49:08 -04:00
bunnei
61883d8820
Merge pull request #6142 from lat9nq/prog_meta_ref_bind_address
...
program_metadata: Avoid reference binding to misaligned address
2022-10-06 20:42:15 -07:00
bunnei
bb86fc573f
Merge pull request #8944 from Tachi107/patch-2
...
build(room): simplify yuzu-room installation
2022-10-06 16:59:04 -07:00
Byte
df6dffa30b
vulkan_blitter: Fix pool allocation double free.
2022-10-06 21:00:54 +02:00
Liam
aedd739631
maxwell_dma: remove warnings from implemented functionality
2022-10-06 21:00:54 +02:00
Fernando Sahmkow
ca3db0d7c9
General: address feedback
2022-10-06 21:00:54 +02:00
Liam
0d99b7962d
state_tracker: workaround channel setup for homebrew
2022-10-06 21:00:54 +02:00
Liam
c80ed6d81f
general: rework usages of UNREACHABLE macro
2022-10-06 21:00:54 +02:00
Morph
903705043d
nvdisp: End system frame after requesting to swap buffers
...
Fixes frametime reporting
2022-10-06 21:00:54 +02:00
Morph
11e1cbbdbd
address_space: Rename va_start to virt_start
...
Avoids conflicting with the va_start macro
2022-10-06 21:00:54 +02:00
Morph
fa342cae22
address_space: Address feedback
2022-10-06 21:00:54 +02:00
Morph
fedd983f96
general: Format licenses as per SPDX guidelines
2022-10-06 21:00:54 +02:00
Fernando Sahmkow
d97d409647
NvHostChannels: improve hack for supporting multiple channels.
2022-10-06 21:00:54 +02:00
Fernando Sahmkow
c2b7de66b3
Address Feedback from bylaws.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
8a372035db
Nvflinger: correct duplication.
2022-10-06 21:00:53 +02:00
VonChenPlus
9982cff98b
Core: Fix get nvmap object random crash
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
fe24c65153
General: Fix clang format.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
1a9b71b1c6
Common: Fix variable shadowing.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
cdce7f781b
Vulkan Swapchain: Overall improvements.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
8d774e7415
NvDec: Fix regressions.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
ada09778d9
Vulkan Texture Cache: Limit render area to the max width/height of the targets.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
8fd1d769fe
ImageBase: Basic fixes.
2022-10-06 21:00:53 +02:00
Liam White
afab6c143c
General: Fix compilation for GCC
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
fd7afda1e8
VideoCore: Implement formats needed for N64 emulation.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
770e19f51a
Buffer Cache: Deduce vertex array limit from memory layout when limit is the highest possible.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
8bb604b3be
VideoCore: Add option to dump the macros.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
a9ca39f859
NVDRV: Further improvements.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
b59ca4df0c
Buffer Cache: Basic fixes.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
98317f2b77
Decoders: Improve overall speed.
2022-10-06 21:00:53 +02:00
bunnei
f5fd6b5c86
DMA & InlineToMemory Engines Rework.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
b2099fbdcc
Maxwell3D: Add small_index_2
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
7cfa28a666
Memory Manager: ensure safety of GPU to CPU address.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
5a568b1655
MemoryManager: Fix errors popping out.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
3d02143476
Shader Decompiler: implement better tracking for Vulkan samplers.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
ba34cf0a69
Shader Decompiler: Check for shift when deriving composite samplers.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
a283eda320
Shader Decompiler: Fix dangerous behavior of invalid iterator insertion.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
359f22b808
MemoryManager: Finish up the initial implementation.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
5caa150e9a
OpenGL: Fix TickWork
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
bc8b3d225e
VideoCore: Refactor fencing system.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
4d60410dd9
MemoryManager: initial multi paging system implementation.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
98b5e236d4
Vulkan: Fix Scissor on Clears
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
920429fde7
NVDRV: Further refactors and eliminate old code.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
2931101e6f
NVDRV: Refactor Host1x
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
668e80a9f4
VideoCore: Refactor syncing.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
e44ac8b821
Texture Cache: Fix GC and GPU Modified on Joins.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
f350c3d74e
Texture cache: Fix the remaining issues with memory mnagement and unmapping.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
9cf4c8831d
Texture cache: Fix dangling references on multichannel.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
e462191482
Refactor VideoCore to use AS sepparate from Channel.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
bb74973bba
General: Rebase fixes.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
6fc4012396
VideoCore: Extra Fixes.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
feb49c822d
NVDRV: Remake ASGPU
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
c6ea0c650e
NVDRV: Update copyright notices.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
0f4ae3cc52
MemoryManager: Temporary Fix for NVDEC.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
835b950f7e
NvHostCtrl: Fix merge of nvflinger.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
cbaf3fb433
VideoCore: Update MemoryManager
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
b617874724
Common: implement MultiLevelPageTable.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
3f8e7a5585
VideoCore: Fix channels with disk pipeline/shader cache.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
d7990c159e
OpenGl: Implement Channels.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
2c62563ab5
NVHOST_CTRl: Implement missing method and fix some stuffs.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
139ea93512
VideoCore: implement channels on gpu caches.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
c77b8df12e
NVASGPU: Fix Remap.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
ad038609c8
NVDRV: Fix clearing when destroying.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
68d9504a04
NVMAP: Fix the Free return parameters.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
af35dbcf63
NVDRV: Fix Open/Close and make sure each device is correctly created.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
de0e8eff42
NVDRV: Implement new NvMap
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
3cbe352c18
NVDRV: Refactor and add new NvMap.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
a21b8824fb
NVDRV: Cleanup.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
d30b885d71
NVDRV: Implement QueryEvent.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
39a5ce4e69
NvHost: Remake Ctrl Implementation.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
ac104a24d1
NvHost: Try a different approach to blocking.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
7b7f6f1cb7
NvHost: Fix some regressions and correct signaling on timeout.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
1a49991676
Texture Cache: Add ASTC 10x5 Format.
2022-10-06 16:45:40 +02:00
bunnei
d55096ce85
Merge pull request #9013 from liamwhite/spinning-a-yarn
...
common: remove "yuzu:" prefix from thread names
2022-10-05 18:53:42 -07:00
bunnei
1689530f52
Merge pull request #9015 from german77/amiibo-rewrite
...
service: nfp: Fix errors to pass unit testing
2022-10-05 14:13:57 -07:00
Kyle Kienapfel
3b5a937125
Show error from cpp-httplib when we don't have a response to read (report errors while connecting to API) ( #8999 )
...
Co-authored-by: Kyle Kienapfel <Docteh@users.noreply.github.com>
2022-10-05 21:39:54 +02:00
Fernando S
71fe9fd0f2
Merge pull request #8987 from liamwhite/another-name-for-reinforcement-steel
...
vulkan: automatically use larger staging buffer sizes when possible
2022-10-05 08:54:22 +02:00
Fernando S
4774e32593
Merge pull request #9011 from liamwhite/frog-emoji-moment
...
shader_recompiler: add extended LDC to GLASM backend
2022-10-05 08:53:26 +02:00
bunnei
fc0ace6048
Merge pull request #9005 from liamwhite/micro-fit
...
macro_jit_x64: cancel exit for taken branch
2022-10-04 20:08:02 -07:00
bunnei
92c0ad23eb
Merge pull request #9010 from liamwhite/buttwise
...
macro_jit_x64: fix miscompilation of bit extraction operations
2022-10-04 15:52:39 -07:00
Liam
7969d4d5de
vk_scheduler: wait for command processing to complete
2022-10-03 20:03:25 -04:00
Narr the Reg
e85c19adcb
service: nfp: Fix errors to pass unit testing
2022-10-03 18:06:55 -05:00
Liam
35d3e7db2a
common: remove "yuzu:" prefix from thread names
2022-10-03 18:43:56 -04:00
Liam
ae7062d522
shader_recompiler: add extended LDC to GLASM backend
2022-10-02 17:32:54 -04:00
bunnei
61399de5db
Merge pull request #8955 from german77/amiibo-rewrite
...
core: nfp: Rewrite implementation to remove direct access from the frontend
2022-10-02 14:28:43 -07:00
german77
1485daff06
service: mii: Copy only valid name bytes
2022-10-02 12:34:24 -05:00
Narr the Reg
d9d566bd3f
service: nfp: Implement mount target and open application area errors, minor fixes
2022-10-02 12:34:14 -05:00
german77
673de3995b
nfp: Multiple fixes against HW
2022-10-02 12:32:26 -05:00
german77
3ce0ef04dd
service: nfp: address comments
2022-10-02 12:32:26 -05:00
german77
afea5c163f
service: nfp: Rewrite and implement applet calls
2022-10-02 12:32:26 -05:00
german77
8a3d22c4bd
core: hid: Add nfc support to emulated controller
2022-10-02 12:32:26 -05:00
german77
f6d57d7dd9
yuzu: Use virtual amiibo driver instead of nfp service
2022-10-02 12:32:26 -05:00
german77
da8864d002
input_common: Enable virtual amiibo driver
2022-10-02 12:32:26 -05:00
german77
e8d71712e7
input_common: Create virtual amiibo driver
2022-10-02 12:32:26 -05:00
bunnei
80a3a73123
Merge pull request #8992 from Morph1984/vi-vsync-event
...
service: vi: Retrieve vsync event once per display
2022-10-02 03:02:59 -07:00
liamwhite
188932768e
Merge pull request #6598 from FernandoS27/falklands-are-british
...
MacroHLE: Add MultidrawIndirect HLE Macro.
2022-10-01 20:58:03 -04:00
Fernando Sahmkow
a60b669ef4
MacroHLE: Add MultidrawIndirect HLE Macro.
2022-10-01 20:57:00 -04:00
Liam
1225627515
macro_jit_x64: fix miscompilation of bit extraction operations
2022-10-01 20:31:21 -04:00
Kyle Kienapfel
1dba5fab62
Qt: work around Qt5's font choice for Chinese
...
On Windows there are currently two fonts used.
The first, does the Menu, QTreeView and Tooltips
Second is Everything else which is a default font.
From inspecting QApplication::font() at runtime
Windows 10 English: QFont(MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0)
Windows 11 Japanese: MS UI Gothic,9 ,-1,5,50,0,0,0,0,0
Windows 11 Traditional Chinese: PMingLiU,9 ,-1,5,50,0,0,0,0,0
Windows 11 Simplified Chinese: SimSun,9 ,-1,5,50,0,0,0,0,0
Windows 11 Korean: Gulim,9 ,-1,5,50,0,0,0,0,0
I initially investigated dynamically changing the font when
the UI language is English, but this was getting quite messy
Qt6 makes changes to default font in some situations, so this
PR is being narrowed in scope to only effect Chinese font choices.
This change only effects rendering of Latin/Cyrillic characters.
2022-10-01 15:27:23 -07:00
bunnei
2a752bbd64
Merge pull request #8876 from FearlessTobi/multiplayer-part3
...
ldn: Implement "local wireless" networked multiplayer
2022-10-01 14:53:36 -07:00
Narr the Reg
181a54a37b
Merge pull request #9008 from ZwipZwapZapony/controller.colors_state.right
...
Fix "controller.colors_state.right" being "left"
2022-10-01 14:37:55 -05:00
bunnei
4242064560
Merge pull request #8874 from vonchenplus/align_index_buffer_size
...
Align index buffe size when vertex_buffer_unified_memory enable
2022-10-01 10:28:50 -07:00
Zwip-Zwap Zapony
31e3437a2f
Fix "controller.colors_state.right" being "left"
2022-10-01 18:18:08 +02:00
Liam
b80f7faebe
macro_jit_x64: cancel exit for taken branch
2022-10-01 01:32:24 -04:00
bunnei
d9e375acc3
Merge pull request #8910 from vonchenplus/astc_decode_error
...
video_core: Modify astc texture decode error fill value
2022-09-30 15:34:11 -07:00
bunnei
dbb9d601df
Merge pull request #8934 from german77/palma_release
...
service: hid: Partially implement palma controller
2022-09-29 12:48:28 -07:00
bunnei
9015a512c2
Merge pull request #8940 from german77/silence
...
yuzu: Silence some clang warnings
2022-09-28 14:37:23 -07:00
Morph
41e855bd42
service: vi: Retrieve vsync event once per display
...
The display vsync event can only be retrieved once per display. Returns VI::ResultPermissionDenied if we attempt to retrieve the vsync event for the same display.
Prevents games such as .hack//G.U. Last Recode from consuming all the handles in the handle table by spamming vsync event retrievals and allows it to go in game.
2022-09-25 21:33:36 -04:00
Morph
acc887cc34
service: vi: Move VI results into its own file
2022-09-25 20:33:25 -04:00
Merry
f55ed1cab0
core/loader: Return nullptr if file is nullptr
2022-09-25 19:31:35 +01:00
Liam
087c6c2ef1
vulkan: automatically use larger staging buffer sizes when possible
2022-09-25 02:28:03 -04:00
bunnei
465c46387d
Merge pull request #8920 from abouvier/cmake-git
...
cmake: fix git detection
2022-09-24 23:11:45 -07:00
Narr the Reg
23589ad9b8
service: hid: Partially implement palma controller
2022-09-25 00:13:12 -05:00
bunnei
1b1b99fbd5
Merge pull request #8941 from Kelebek1/single_core_sucks
...
Do not try to pause core timing from the audio thread when using single-core
2022-09-23 22:40:30 -07:00
Morph
d794ced303
Merge pull request #8945 from Tachi107/typos
...
chore: fix some typos
2022-09-23 20:28:43 -04:00
Morph
5082efef6c
Merge pull request #8948 from german77/order
...
yuzu: sort input profiles by name
2022-09-23 20:28:35 -04:00
Morph
12baf88dc8
Merge pull request #8930 from lat9nq/disable-vulkan-check
...
yuzu qt: Add option to disable startup Vulkan check
2022-09-23 20:28:13 -04:00
Narr the Reg
f711d1ce52
yuzu: sort input profiles by name
2022-09-23 12:31:35 -05:00
Morph
70abb13a43
Merge pull request #8943 from lioncash/netiface
...
sockets: Make fd member variable protected
2022-09-23 09:08:07 -04:00
Morph
c2c3f2c3e7
Merge pull request #8939 from lioncash/render
...
audio_renderer: Make GetCommandBuffer() take a u32
2022-09-23 09:07:52 -04:00
Andrea Pappacoda
4a493cb10f
chore: fix some typos
...
Fix some typos reported by Lintian
2022-09-23 13:38:23 +02:00
Andrea Pappacoda
db88eaa346
build(room): simplify yuzu-room installation
...
CMake is able to automatically install binaries in the correct location. Also see my older patch, af94bf4a59
Cc: @FearlessTobi
2022-09-22 21:51:56 +02:00
Lioncash
c8da75b7ed
sockets: Make fd member variable protected
...
Other things shouldn't be able to directly mess around with the
descriptor
2022-09-22 08:20:54 -04:00
Kelebek1
56b8a9ba6e
Do not try to pause core timing from the audio thread when using single-core
2022-09-22 01:23:57 +01:00
Narr the Reg
5a74ced59a
yuzu: Silence some clang warnings
2022-09-21 11:51:31 -05:00
Lioncash
c891497b61
audio_renderer: Make GetCommandBuffer() take a u32
...
This function is only ever called with unsigned types, and all of the
other interface functions take session_id as a u32, so this makes the
class a little more consistent.
2022-09-21 10:00:57 -04:00
Lioncash
00616c7ad8
audio_manager: Forward declare result type
...
Moves the include into the cpp file to lessen header dependencies.
2022-09-21 09:43:59 -04:00
Lioncash
75d6fe3669
audio_manager: Remove redundant cast in ThreadFunc()
...
We can just use a local here to get rid of a second cast.
2022-09-21 09:35:22 -04:00
Lioncash
e48e22eb52
audio_manager: move std::functions in SetOutManager/SetInManager
...
Prevents unnecessary reallocations in the event the captured variables
are larger than the internal std::function buffer.
2022-09-21 09:32:15 -04:00
Lioncash
da0fd51642
audio_manager: Remove unused forward declarations
...
Allows us to get rid of some unnecessary forward declarations and
includes.
2022-09-21 09:29:35 -04:00
Lioncash
08d81e0bd8
audio_manager: Remove unused sessions_started member variable
...
This isn't used, so it can be removed.
2022-09-21 09:28:05 -04:00
Lioncash
b59b967280
audio_manager: Remove dependence on system state
...
This isn't used by the class, so this can be removed for the time being.
2022-09-21 09:26:42 -04:00
FearlessTobi
4213f1c126
Address some review comments
2022-09-20 19:36:32 +02:00
FengChen
d4cb0eac87
video_core: Fix legacy to generic location unpaired
2022-09-20 12:03:31 +08:00
Feng Chen
c864cb5772
Merge branch 'master' into mipmap
2022-09-20 11:56:43 +08:00
FengChen
9a95c7fa14
video_core: Generate mipmap texture by drawing
2022-09-20 11:55:43 +08:00
bunnei
8d4458ef24
Merge pull request #8849 from Morph1984/parallel-astc
...
astc: Enable parallel CPU astc decoding
2022-09-19 12:17:51 -07:00
lat9nq
89af4bfba8
yuzu qt: Add option to disable startup Vulkan check
...
The startup check apparently confuses other programs when yuzu launches
2 processes and then quickly closes one of them. Though this isn't
really our issues it's also not a big deal for me to add an option to
work around that issue.
2022-09-19 14:46:12 -04:00
bunnei
3a5f9409c8
Merge pull request #8915 from vonchenplus/opus_multi_stream
...
core: implement HwOpus GetWorkBufferSizeForMultiStreamEx
2022-09-17 16:07:33 -07:00
Alexandre Bouvier
7239470dad
cmake: fix git detection
2022-09-18 00:04:35 +02:00
bunnei
7172339c7a
Merge pull request #8827 from german77/amiibo_release
...
core: nfp: Implement amiibo encryption
2022-09-17 11:11:21 -07:00
bunnei
9c32f29af1
Merge pull request #8650 from Kelebek1/vsync
...
[Coretiming/NVNFlinger] Improve multi-core vsync timing, and core timing accuracy
2022-09-17 11:10:54 -07:00
bunnei
4a7a771340
Merge pull request #8914 from lioncash/audio-const
...
audio_core: Mark several member functions as const
2022-09-16 23:51:31 -07:00
bunnei
92813f01a4
Merge pull request #8906 from Docteh/fix_icons
...
UI: move icons from default into colorful theme.
2022-09-16 18:12:04 -07:00
Morph
344006b856
Merge pull request #8869 from SachinVin/cmake
...
core/CMakeLists.txt: Remove duplicate files.
2022-09-16 13:11:33 -04:00
Morph
8dafe15600
Merge pull request #8649 from lat9nq/common-position-independent
...
common: Use PROJECT_SOURCE_DIR to find CMakeModules
2022-09-16 12:48:53 -04:00
Morph
44ccec7846
Merge pull request #8682 from lat9nq/dumpy
...
yuzu qt: Add option to create Windows crash dumps
2022-09-16 12:47:51 -04:00
FengChen
672e61d802
core: implement HwOpus GetWorkBufferSizeForMultiStreamEx
2022-09-17 00:28:56 +08:00
Morph
60aa942210
Merge pull request #8911 from lioncash/cexpr-string
...
audio_device: Make AudioDeviceName constructor constexpr
2022-09-16 10:18:58 -04:00
Morph
809126c94a
astc: Enable parallel CPU astc decoding
...
Given the issues with GPU accelerated ASTC decoding with NVIDIA's latest drivers, parallelize astc decoding on the CPU.
Uses half the available threads in the system for astc decoding.
2022-09-16 10:16:42 -04:00
Lioncash
7e3cdfc453
audio_renderer: Pass command buffer by const reference
...
This is just being copied and isn't modified at all.
2022-09-16 10:06:53 -04:00
Lioncash
d5d6322640
sink_stream: Mark GetQueueSize as const
2022-09-16 10:00:52 -04:00
Lioncash
6b1cb73350
node_states: Mark relevant member functions as const
2022-09-16 09:59:56 -04:00
Lioncash
e4bc7b8611
i3dl2/reverb: Mark relevant member functions as const
...
These two don't modify member state.
2022-09-16 09:58:49 -04:00
Lioncash
b2c2138af7
behavior_info: Mark CopyErrorInfo as const
...
This doesn't modify member state.
We can also mark the parameter of AppendError as const as well, since it
isn't modified.
2022-09-16 09:55:17 -04:00
Lioncash
b862d5d8d8
audio_device: Mark GetDeviceVolume as const
...
This doesn't modify instance state.
2022-09-16 09:52:34 -04:00
Lioncash
36c77761cf
audio_render_manager: Mark several functions as const
2022-09-16 09:50:32 -04:00
Lioncash
7a5d235d94
audio_in: Mark several functions as const
...
These functions don't modify class state, so we can mark them as such
2022-09-16 09:45:54 -04:00
Lioncash
d1f3c121a0
audio_out: Mark several functions as const
...
These don't affect class state, so we can mark them as such.
2022-09-16 09:45:51 -04:00
Lioncash
e9109cb5f2
audio_buffers: Pass by const-ref in AppendBuffers
...
This function doesn't modify the passed in buffer, so we can make that
explicit.
2022-09-16 09:36:03 -04:00
Lioncash
cb2a33babc
device_session: Convert for loop into ranged for in AppendBuffers
...
Simplifies the indexing code a little bit.
2022-09-16 09:32:57 -04:00
Lioncash
a278fa6e2a
device_session: Pass arguments by const-ref in relevant functions
...
These functions don't modify the passed in audio buffers, so we can
signify that in the interface.
2022-09-16 09:31:33 -04:00
Kyle Kienapfel
9554c67809
UI: move icons from default into colorful theme.
...
colorful theme has been default theme for awhile. having colorful theme
try and grab icons from other theme doesn't work on Linux.
Also adding two additional icons, info is to hint to the user that they
should hit verify after pasting in a token, sync is to show that the
verification is occurring.
2022-09-15 23:00:49 -07:00
bunnei
e85bda5f31
Merge pull request #8878 from Kelebek1/remove_pause
...
Remove pause callbacks from coretiming
2022-09-15 13:50:13 -07:00
liamwhite
b06ef5d530
Merge pull request #8901 from lioncash/docs
...
audio_core: Amend documentation comment tags
2022-09-15 10:36:18 -04:00
Narr the Reg
0a63d43ad6
Merge pull request #8909 from Docteh/taslinky
...
UI: Fix link to TAS help page
2022-09-15 08:48:12 -05:00
Lioncash
2c91fbf7f1
audio_core: Amend documentation tags
...
Resolves a wackload of -Wdocumentation warnings due to mismatching tags
and whatnot.
2022-09-15 09:47:23 -04:00
Mai
463cc9559f
Merge pull request #8904 from liushuyu/fix-xbyak-linkage
...
common: do not link to xbyak on non-amd64 architectures
2022-09-15 09:44:57 -04:00
Lioncash
d55046c5e9
audio_device: Mark member functions as const where applicable
...
These member functions don't modify any internal state.
2022-09-15 09:06:17 -04:00
Lioncash
1c7dae966d
audio_device: Make AudioDeviceName constructor constexpr
...
These are used as read-only arrays, so we can make the data read-only
and available at compile-time.
Now constructing an AudioDevice no longer needs to initialize some
tables
2022-09-15 09:03:40 -04:00
FengChen
88007077e2
video_core: Modify astc texture decode error fill value
2022-09-15 17:04:44 +08:00
Kyle Kienapfel
fbbedb032c
UI: Fix link to TAS help page
...
Tools -> TAS -> Configure TAS
Thanks to Rei on discord for the fix.
Basically: openExternalLinks is a checkbox in Qt Creator
2022-09-15 01:43:03 -07:00
liushuyu
7fda6de5cb
common: do not link to xbyak on non-amd64 architectures
2022-09-13 17:19:37 -06:00
Lioncash
f08046f4d7
compressor: Simplify memset in InitializeCompressorEffect
...
Provides equivalent behavior while being significantly smaller.
2022-09-13 13:34:58 -04:00
Lioncash
fd876f200f
compressor: Mark params parameters as const
...
These functions don't modify the parameters.
2022-09-13 13:33:41 -04:00
Lioncash
bdb866af1d
compressor: Remove unneeded casts in ApplyCompressorEffect
...
Same behavior, but also silences a -Wcast-qual warning, since the second
cast casts away const.
2022-09-13 13:28:54 -04:00
Kelebek1
e93e898df5
Remove pause callbacks from coretiming
2022-09-13 13:20:35 +01:00
Mai
1be456db83
Merge pull request #8880 from german77/slow-moving
...
input_common: Increase mapping timer from 2.5 seconds to 4 seconds
2022-09-12 23:30:51 -04:00
Kelebek1
1deecc6f70
Remove a pragma once from a cpp file
2022-09-12 19:27:11 +01:00
german77
5d907d9acd
input_common: Increase mapping timer from 2.5 seconds to 4 seconds
2022-09-11 08:58:06 -05:00
liushuyu
aa11d73bba
dedicated_room: fix token padding ...
...
... mebedtls' base64 routine has a strange behavioral issue where if the
input is invalid, it will not report it as invalid, but rather returning
a bunch of garbage data. This new round-tripping padding method should
eliminate such issue.
2022-09-10 18:56:29 -05:00
Narr the Reg
1694c55d62
fix black icon
2022-09-10 18:56:06 -05:00
bunnei
cd4b9bffb2
Merge pull request #8842 from Kelebek1/AudOut
...
[audio_core] Rework audio output
2022-09-10 11:01:11 -07:00
german77
8f207bd93d
yuzu: Multiple room UI improvements
2022-09-10 19:39:25 +02:00
FengChen
92b1f8d5da
Align index buffe size when vertex_buffer_unified_memory enable
2022-09-10 20:01:33 +08:00
bunnei
16080b6e4e
Merge pull request #8863 from german77/triggers
...
core: hid: Fix GC triggers overwriting ZL and ZR buttons
2022-09-09 21:53:53 -07:00
bunnei
a967c41fa0
Merge pull request #8864 from german77/toggle_analog
...
input_common: Add support for analog toggle
2022-09-09 20:54:01 -07:00
FearlessTobi
f5e635adda
ldn: Initial implementation
2022-09-09 14:30:22 +02:00
lat9nq
0cef3b47f3
Merge pull request #8819 from liamwhite/cash-money
...
video_core: add option for pessimistic flushing
2022-09-08 22:46:58 -04:00
SachinVin
9c6cd93195
core/CMakeLists.txt: Remove duplicate files.
2022-09-08 22:03:53 +05:30
Kyle Kienapfel
e78a623342
CMake: explicitly link mbedcrypto for yuzu-room
...
Doesn't appear to effect anything regular, but in both Linux and Windows
builds it looks like our project has all the libraries available for
linking. If this feature is turned off, there is only one thing that
quit working, when linking yuzu-room it couldn't find a function called
mbedtls_base64_decode
mbedtls is split into three libraries for some reason:
mbedtls
mbedx509
mbedcrypto
mbedtls_base64_decode is in mbedcrypto
2022-09-08 05:52:28 -07:00
german77
063b23cc58
core: nfp: Remove magic numbers
2022-09-07 09:49:43 -05:00
german77
4834961736
core: nfp: Workaround for lack of multiple nfp interfaces
2022-09-07 01:04:00 -05:00
Narr the Reg
caa138b33f
core: nfp: Correct date and amiibo name
2022-09-07 01:04:00 -05:00
Narr the Reg
19a4e12e6e
core: nfp: Implement Convert and RecreateApplicationArea, accuracy fixes
2022-09-07 01:04:00 -05:00
german77
848f69eb19
core: nfp: Implement amiibo encryption
2022-09-07 01:04:00 -05:00
Narr the Reg
de8f7e1250
yuzu: input: fix invert symbol on axis and order options alphabetically
2022-09-06 11:44:29 -05:00
Narr the Reg
2898be69f4
input_common: Add support for analog toggle
2022-09-06 11:21:28 -05:00
bunnei
4ffbbc5348
Merge pull request #8837 from Morph1984/invalidate
...
(shader/pipeline)_cache: Raise shader/pipeline cache version
2022-09-05 18:20:54 -07:00
bunnei
dd2faab372
Merge pull request #8847 from german77/stop
...
input_common: sdl: Always check for motion on reconnect
2022-09-05 14:50:38 -07:00
Narr the Reg
dc8d42243b
core: hid: Fix GC triggers overwritting ZL and ZR buttons
2022-09-05 16:09:21 -05:00
lat9nq
12f7d42d32
mini_dump: Address review feedback
...
Uses fmt::print as opposed to std::fprintf. Adds a missing return.
static's a single-use function. Initializes structs as opposed to
std::memset where possible. Fixes CMake linkage.
Co-authored-by: Lioncash <mathew1800@gmail.com>
mini_dump: Use a namespace
Co-authored-by: Lioncash <mathew1800@gmail.com>
2022-09-04 21:36:35 -04:00
lat9nq
c976613ab2
vcpkg,cmake: Use vcpkg for dbghelp
2022-09-04 21:36:05 -04:00
lat9nq
e339ec0e00
mini_dump: Check for debugger before spawning a child
...
mini_dump: Clean up
mini_dump: Fix MSVC error
mini_dump: Silence MSVC warning C4700
Zero initialize deb_ev.
mini_dump: Add license info
2022-09-04 21:36:05 -04:00
lat9nq
3dbaafe1f3
mini_dump: Cleanup and add comments
...
Removes some unnecessary code.
wip
2022-09-04 21:36:05 -04:00
lat9nq
f958cbc737
yuzu: Use a debugger to generate minidumps
...
yuzu: Move mini_dump out of core
startup_checks: Better exception handling
2022-09-04 21:36:04 -04:00
Kelebek1
2129d040a5
Don't stall with nvdec
2022-09-04 05:41:06 +01:00
Narr the Reg
c3b16cf8d3
input_common: sdl: Always check for motion on reconnect
2022-09-03 17:52:57 -05:00
liamwhite
3faa1c54b6
Merge pull request #8855 from german77/pls
...
core: ns: Implement pl:s service
2022-09-03 18:35:38 -04:00
Narr the Reg
c7a814f10f
core: ns: Implement pl:s service
2022-09-03 17:32:12 -04:00
Kyle Kienapfel
b1076859c4
Qt: Make General->Debug scrollable
...
Configuration -> General -> Debug is getting a bit crowded.
yzct12345 submit this originally, so I'm tagging them as a co-author.
The original #6714 also modifies the Controls -> Player N sections,
but it looks like more work is needed to make the current area scrollable.
Co-authored-by: yzct12345 <87620833+yzct12345@users.noreply.github.com>
2022-09-03 04:59:01 -07:00
bunnei
5addff8d59
Merge pull request #8822 from FearlessTobi/multiplayer-fixes
...
network: Fixes and improvements to the room feature
2022-09-02 10:24:32 -07:00
Mai
199f77b92f
Merge pull request #8843 from Kelebek1/SILENCE_WENCH
...
Silence a million MSVC warnings
2022-09-02 05:51:44 -04:00
Kelebek1
ea9ff71725
Rework audio output, connecting AudioOut into coretiming to fix desync during heavy loads.
2022-09-02 04:43:04 +01:00
FearlessTobi
65718e2876
Address review comments
2022-09-02 00:50:32 +02:00
Kelebek1
03aedccaa2
Demote services from warning/info to debug to reduce log spam:
...
GetCurrentFocusState
SetClockSpeed
EnableSixAxisSensorUnalteredPassthrough
IsSixAxisSensorUnalteredPassthroughEnabled
Get, GetOld
SetAndWait, SetAndWaitOld
IocParam
IocFree
2022-09-01 16:54:22 +01:00
Kelebek1
f294b886db
Silence std::aligned_storage warnings as it's deprecated in C++23,
...
replace it with alignas() and a C array
2022-09-01 16:50:41 +01:00
Morph
9533365486
style: General style changes to match with the rest of the codebase
2022-08-31 08:51:47 -04:00
Morph
7e379207ec
(shader/pipeline)_cache: Raise shader/pipeline cache version
...
Since the following commit: a83a5d2e4c
, many games will refuse to boot unless the shader/pipeline cache has been invalidated.
2022-08-31 08:39:37 -04:00
Fernando S
a83a5d2e4c
Merge pull request #8752 from vonchenplus/rectangle_texture
...
video_code: support rectangle texture
2022-08-31 10:40:45 +02:00
bunnei
c881a67dba
Merge pull request #8809 from german77/finally_is_fixed
...
video_core: vulkan: rasterizer: Workaround on viewport swizzle on AMD
2022-08-28 02:46:57 -07:00
FearlessTobi
6791301d9a
core/ldn_types: Minor corrections and additions
2022-08-27 04:49:10 +02:00
FearlessTobi
63b236d853
yuzu/chat_room: Make font size bigger
2022-08-27 04:04:00 +02:00
FearlessTobi
27d7db1fae
dedicated_room: Correctly handle token decoding
...
Correctly handle token decoding when '=' has been trimmed by the backend server.
Co-Authored-By: liushuyu <liushuyu011@gmail.com>
2022-08-27 04:00:27 +02:00
FearlessTobi
2b6ac4463c
yuzu/multiplayer: Warn when game is running or no network interface is selected
2022-08-27 03:41:19 +02:00
FearlessTobi
339758c9fc
core/socket_proxy: Correct broadcast behavior
...
Broadcasts should only be sent when the broadcast IP is used.
They should also only be received when SO_BROADCAST is enabled.
2022-08-27 03:39:02 +02:00
FearlessTobi
839e1faf49
yuzu: Display current game version in multiplayer room
...
Makes it easier for users to recognize connection errors caused by different game versions.
2022-08-27 03:31:17 +02:00
FearlessTobi
b961b385c3
network: Use lower timeout for enet_host_service
...
This allows us to have a 10x higher throughput of packets by using a much shorter waiting time.
2022-08-27 03:26:31 +02:00
FearlessTobi
d92826963a
core/bsd: Correctly unbind methods in destructor
...
Prevents yuzu from crashing when the BSD service is created a second time.
2022-08-27 03:12:12 +02:00
FearlessTobi
e431cb8d16
core/acc: Make CheckAvailability use LOG_DEBUG
...
Previously it was spamming the logs in certain multiplayer games like Puyo Puyo Tetris.
2022-08-27 03:08:21 +02:00
FearlessTobi
b904652d69
yuzu_room: Remove dependency on core
2022-08-27 03:02:21 +02:00
bunnei
d1ef4b2b86
Merge pull request #8566 from german77/galaxy
...
core: hid: Add fallback for dualjoycon and pro controllers
2022-08-26 16:23:41 -07:00
Liam
db3eb168cd
video_core: add option for pessimistic flushing
2022-08-25 12:32:14 -04:00
FengChen
b2a6dde438
video_code: support rectangle texture
2022-08-25 12:45:58 +08:00
bunnei
a07502a638
Merge pull request #8812 from Kelebek1/auto
...
[Audio] Implement AudRenU:RequestUpdateAuto
2022-08-24 11:45:56 -07:00
Kelebek1
56f1dc8dad
Implement AudRenU:RequestUpdateAuto, and use C descriptors when B reports as empty.
2022-08-24 18:14:21 +01:00
Narr the Reg
0c8aeb09d2
video_core: vulkan: rasterizer: Workaround on viewport swizzle on AMD
2022-08-23 18:38:34 -05:00
bunnei
3e1426c9a3
Merge pull request #8804 from vonchenplus/speed_up_idirectory_services
...
core:filesystem: speed up IDirectory service
2022-08-23 13:56:05 -07:00
Narr the Reg
db2335e2f8
yuzu: Force camera output to be saved on a buffer ( #8805 )
2022-08-22 23:54:48 -05:00
vonchenplus
bd018e0123
core:filesystem: speed up IDirectory service
2022-08-23 09:05:59 +08:00
german77
825ac7b9f4
hid: core: Add missing function table names
2022-08-21 23:31:53 -05:00
liamwhite
7fab7b829c
Merge pull request #8799 from liamwhite/where-did-the-padding-go
...
core/file_sys: fix alignment of BuildId
2022-08-21 14:06:06 -04:00
liamwhite
b99596e312
Merge pull request #8660 from Tachi107/findmodules-pkg-config
...
build: simplify find modules
2022-08-21 13:42:42 -04:00
liamwhite
064f836d1c
Merge pull request #8784 from Docteh/nosnek
...
code: dodge PAGE_SIZE #define
2022-08-21 12:59:01 -04:00
Liam
518317b717
core/file_sys: fix alignment of BuildId
2022-08-21 12:28:36 -04:00
bunnei
e37e3d3634
Merge pull request #8790 from liamwhite/too-many-ways-to-name-a-byte-string
...
core/file_sys: fix BuildId padding in patch loading
2022-08-20 22:26:02 -07:00
liamwhite
1088e8ce5c
Merge pull request #8783 from german77/looong
...
yuzu: Allow longer controller profile names
2022-08-20 18:31:46 -04:00
liamwhite
7a3e5fe927
Merge pull request #8797 from Docteh/filtering
...
Qt: Retranslate GameList header and Filter line
2022-08-20 18:31:39 -04:00
liamwhite
776bcec3e1
Merge pull request #8795 from vonchenplus/support_framebuffer_crop_rect_top_not_zero
...
video_core: support framebuffer crop rect top not zero
2022-08-20 18:31:31 -04:00
Kyle Kienapfel
5863f16b4c
Qt: Retranslate GameList header and Filter line
...
Didn't notice this until I was trying to change the default font
to Comic Sans MS when language is set to English in yuzu.
2022-08-20 07:49:29 -07:00
vonchenplus
0a8c5c8622
video_core: support framebuffer crop rect top not zero
2022-08-20 21:41:40 +08:00
vonchenplus
4bab0d07a6
core: implement clkrst service
2022-08-20 14:08:59 +08:00
Kyle Kienapfel
14e9de6678
code: dodge PAGE_SIZE #define
...
Some header files, specifically for OSX and Musl libc define PAGE_SIZE to be a number
This is great except in yuzu we're using PAGE_SIZE as a variable
Specific example
`static constexpr u64 PAGE_SIZE = u64(1) << PAGE_BITS;`
PAGE_SIZE PAGE_BITS PAGE_MASK are all similar variables.
Simply deleted the underscores, and then added YUZU_ prefix
Might be worth noting that there are multiple uses in different classes/namespaces
This list may not be exhaustive
Core::Memory 12 bits (4096)
QueryCacheBase 12 bits
ShaderCache 14 bits (16384)
TextureCache 20 bits (1048576, or 1MB)
Fixes #8779
2022-08-19 16:08:40 -07:00
Liam
c5c425914f
video_core: implement R16G16B16X16 texture format
2022-08-19 17:17:38 -04:00
Liam
39cf6abd94
core/file_sys: fix BuildId padding
2022-08-19 17:16:33 -04:00
Narr the Reg
bfbee62340
yuzu: Allow longer controller profile names
2022-08-18 17:46:39 -05:00
liushuyu
b00df08145
common: remove unneeded x86-specific header
2022-08-16 15:19:57 -06:00
FearlessTobi
4976d14009
core/socket_proxy: Final nits
2022-08-15 23:50:19 +02:00
german77
72b90a5bbf
core: network: Address review comments
2022-08-15 20:25:42 +02:00
FearlessTobi
72ff5cd445
yuzu: Fix crash on shutdown
...
Previously, accessing the room_network when it was already freed would crash the emulator on shutdown.
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
2022-08-15 20:25:42 +02:00
FearlessTobi
5cd95fa949
internal_network: Fix mingw compilation
...
Apparently, "interface" is a reserved keyword on this compiler.
2022-08-15 20:25:42 +02:00
FearlessTobi
6d41088153
core, yuzu: Address first part of review comments
2022-08-15 20:25:42 +02:00
FearlessTobi
a5cd639cb6
core/socket_proxy: Fix compilation
2022-08-15 20:25:42 +02:00
FearlessTobi
bb84f53539
Make copyright headers SPDX-compliant
2022-08-15 20:25:42 +02:00
FearlessTobi
f80c7c4cd5
core, network: Add ability to proxy socket packets
2022-08-15 20:25:42 +02:00
FearlessTobi
035ca99b02
web_service: Correct jwt issuer string
2022-08-15 20:25:41 +02:00
FearlessTobi
9fc03d4b91
dedicated_room: Initial implementation
2022-08-15 20:25:41 +02:00
bunnei
d04bc95934
Merge pull request #8739 from merryhime/swizzle_table
...
video_core/textures/decoders: Avoid SWIZZLE_TABLE
2022-08-13 22:03:32 -07:00
bunnei
411e58de28
Merge pull request #8756 from Kelebek1/vol
...
Allow audio volume up to 200%
2022-08-12 15:40:15 -07:00
bunnei
cba3b05c94
Merge pull request #8755 from Morph1984/delimit-ips
...
ips_layer: Delimit parsed hex value string
2022-08-12 14:12:10 -07:00
Mai
ce42465638
Merge pull request #8741 from Docteh/aboot
...
Qt: tweak ui files
2022-08-12 15:19:37 -04:00
Kelebek1
85c9e31791
Do some log memes to help perceived volume
2022-08-12 19:59:09 +01:00
liamwhite
5a6a26449c
Merge pull request #8745 from merryhime/null-fastmem-arena
...
arm_dynarmic: Fix nullptr fastmem arenas
2022-08-12 14:57:32 -04:00
Kelebek1
b25090d960
Allow audio volume up to 200%
2022-08-12 16:57:29 +01:00
Morph
a44da3c14d
ips_layer: Delimit parsed hex value string
...
Delimits the hex value string on spaces, slashes, carriage returns or newlines, allowing for comments to be added in-line.
2022-08-12 10:19:44 -04:00
liamwhite
e8a59a6931
Merge pull request #8647 from Docteh/default_dark
...
Linux: handle dark system themes nicely
2022-08-12 10:05:06 -04:00
Kyle Kienapfel
d4b1095173
review pass on CheckDarkMode function
2022-08-12 06:13:12 -07:00
liamwhite
536626fdd6
Merge pull request #8731 from FearlessTobi/better-ldn
...
ldn: Add better stubs and more data types
2022-08-12 08:40:30 -04:00
german77
56115f7732
core: ldn: Address review comments part 2
2022-08-11 23:12:32 -05:00
liamwhite
253e1e6941
Merge pull request #8735 from djrobx/add_vsync
...
Make vsync setting work for Vulkan
2022-08-09 20:43:55 -04:00
bunnei
2338503241
Merge pull request #8722 from german77/ds4_goes_brrr
...
hid: core: Delay the stop vibration command when testing
2022-08-09 16:22:33 -07:00
bunnei
0069b5e118
Merge pull request #8724 from german77/no_alpha
...
hid: core: Properly emulate controller color and battery level
2022-08-09 16:21:23 -07:00
bunnei
4bd8adfe42
Merge pull request #8729 from merryhime/cp15-barriers
...
arm_dynarmic_cp15: Implement CP15DMB/CP15DSB/CP15ISB
2022-08-09 16:12:53 -07:00
bunnei
15df026d04
Merge pull request #8499 from Docteh/plurals
...
Translate english plurals
2022-08-09 16:09:14 -07:00
Merry
9bdef7428a
arm_dynarmic: Fix nullptr fastmem arenas
...
Unable to enable fastmem of exclusive access without a valid fastmem arena.
2022-08-09 20:48:19 +01:00
bunnei
ada667060a
Merge pull request #8715 from Docteh/suzhou
...
Qt5 work around for suzhou numerals
2022-08-09 10:05:47 -07:00
Kyle K
af9c3e9340
Qt: tweak ui files
...
make about dialog a bit taller for full message on more systems
for direct_connect.ui hedging bets here, there is a text field for port
number that possibly shouldn't be translated, marking as such, but also
adding a translation note for the event that it makes sense to translate
the placeholder text to something other than the default multiplayer
direct connect port.
2022-08-09 05:00:37 -07:00
Merry
f2fbf6d910
video_core/textures/decoders: Avoid SWIZZLE_TABLE
2022-08-09 00:27:26 +01:00
Narr the Reg
301702e548
hid: core: Properly emulate controller color and battery level
2022-08-08 13:12:02 -05:00
Narr the Reg
8eb2c73381
core: ldn: Address review comments
2022-08-08 12:49:48 -05:00
DJRobX
d8b160c883
Make vsync setting work for Vulkan
2022-08-07 20:57:47 -07:00
Liam
aae208d07f
core/arm: fix build error
2022-08-07 21:39:54 -04:00
bunnei
01bb5d5c4d
Merge pull request #8637 from liamwhite/bad-interrupts
...
kernel: unlayer CPU interrupt handling
2022-08-07 17:48:55 -07:00
Morph
30515b3b27
Merge pull request #8240 from liamwhite/count-cycles
...
core/arm: re-enable cycle counting
2022-08-07 20:30:57 -04:00
FearlessTobi
12dc05032b
ldn: Add better stubs and more data types
...
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
Co-Authored-By: Morph <39850852+Morph1984@users.noreply.github.com>
2022-08-07 23:54:51 +02:00
Merry
50cda3bd7b
arm_dynarmic_cp15: Implement CP15DMB/CP15DSB/CP15ISB
2022-08-07 22:16:49 +01:00
lat9nq
e2123b27e8
yuzu: Fix fmt 9.0.0 issues
2022-08-07 17:02:06 -04:00
bunnei
9dc8d02acc
Merge pull request #8658 from liamwhite/plgp
...
video_core: differentiate between tiled and untiled framebuffer sizes for unaccelerated blits
2022-08-06 23:00:46 -07:00
bunnei
0f2fc6335e
Merge pull request #8700 from liamwhite/xc3-vk-crash
...
vk_texture_cache: return VK_NULL_HANDLE for views of null images
2022-08-06 13:11:34 -07:00
liamwhite
ee5b244cdf
Merge pull request #8667 from Kelebek1/xc3
...
[SPIRV] Add missed shader defines
2022-08-06 16:08:32 -04:00
Narr the Reg
80b462e553
hid: core: Delay the stop vibration command when testing
2022-08-05 17:20:05 -05:00
Steve
cd5bbf0f04
Controller bugfixes in profile select ( #8716 )
...
* Controller bugfixes in profile select, closes #8265
2 fixes for using a controller in profile select dialog.
Pressing 'B' cancels the launch of the game
Using controller to select a profile now correctly sets the index to use for the launch
* Added brackets to if statements as requested.
2022-08-05 10:02:04 -05:00
Kyle K
b51db12567
Linux: handle dark system themes nicely
...
yuzu's default theme doesn't specify everything, which is fine for
windows, but in linux anything unspecified is set to the users theme.
Symptoms of this are that a linux user with a dark theme won't think
to change the theme to a dark theme when first using yuzu
Idea here is to try and support arbitrary themes on linux.
preliminary work on a "default_dark" theme, used only as overlay
for any themes that are measured to be dark mode.
Other work done:
FreeDesktop standard icon names:
plus -> list-add
delete refresh, we use view-refresh
remove duplicated icons for qdarkstyle_midnight_blue
referencing icon aliases in the qrc files is the way to go
Note:
Dynamic style changing doesn't appear to work with AppImage
2022-08-05 05:22:27 -07:00
Kyle Kienapfel
63673dcf98
Qt5 work around for suzhou numerals
...
When windows is told to display Standard digits as suzhou, it is showing
incorrect information in yuzu, file sizes and the CPU speed limiter are
effected by this. See #8698 for some screenshots.
Setting number format to Chinese (Simplified, Hong Kong SAR) is one
way to see this issue in action.
Fixes #8698
2022-08-03 21:49:23 -07:00
Liam
c40cec5e58
renderer_vulkan: add format fallbacks for R16G16B16_SFLOAT, R16G16B16_SSCALED, R8G8B8_SSCALED
2022-08-02 18:39:33 -04:00
Liam
1d364adf3e
vk_texture_cache: return VK_NULL_HANDLE for views of null images
2022-08-02 13:31:42 -04:00
Morph
606cdb17d3
core_timing: Sleep in discrete intervals, yield during spin
2022-08-02 01:01:54 -04:00
Kelebek1
658e1ee426
Add missing looping event schedule signal
2022-08-02 01:01:54 -04:00
Kelebek1
83a24ad638
Make coretiming waiting more accurate
2022-08-02 01:01:54 -04:00
Kelebek1
9d3b190465
Rework multi-core vsync
2022-08-01 23:51:53 -04:00
lat9nq
260430c849
common: Use PROJECT_SOURCE_DIR to find CMakeModules
...
Fixes CMake configuration when yuzu is a submodule of another project.
2022-08-01 23:18:56 -04:00
Liam
00299479ab
core/loader: remove ELF loader
2022-08-01 17:19:23 -04:00
Andrea Pappacoda
adc8c03fe4
build(externals): rename Findopus to FindOpus
...
This better matches upstream's FindOpus.cmake file, and it will make
using upstream's FindOpus.cmake file easier.
2022-08-01 12:31:31 +02:00
bunnei
5ae0e5ba67
Merge pull request #8678 from liamwhite/stop-waiting
...
video_core: stop waiting for shader compilation on user cancel
2022-07-31 14:47:43 -07:00
bunnei
3bbc1cf64c
Merge pull request #8622 from liamwhite/progress
...
qt: reset progress bar after shader compilation
2022-07-31 14:46:38 -07:00
Nikita Strygin
1cf6f5c623
Properly write out the command buffer when serving close request
2022-07-31 23:17:45 +03:00
Morph
9dcfef744c
Merge pull request #8684 from liamwhite/delete-shader
...
renderer_opengl: delete shader source after linking
2022-07-30 21:36:26 -04:00
Liam
b9360681df
renderer_opengl: delete shader source after linking
2022-07-30 13:21:26 -04:00
Kyle Kienapfel
7e0afc641c
Translate english plurals
...
Turns out that for Qt to properly handle plurals in English a
translation needs to be provided, otherwise the user is left with
messages such as "Building: 2 shader(s)"
Plurals for other all other languages are handled on transifex.
I wrote the README.md to just refer to it as a translation
collaboration site just in case we ever switch.
These translations being out of date won't pose any technical problems
so I believe it is fine to handle them manually on a "best effort"
basis.
The files are generated into the source directory so that the
relative filenames are correct. The generated file is added to
.gitignore
2022-07-30 01:40:33 -07:00
Morph
f8a005e26e
Merge pull request #8664 from liamwhite/monkey-compiler-v12-1
...
common: move forwarded value into SPSCQueue
2022-07-30 03:24:23 -04:00
Liam
fc013d88cb
video_core: stop waiting for shader compilation on user cancel
2022-07-29 23:33:40 -04:00
Liam
73a87edc45
audio_core: fix -Wuninitialized when compiling with ASan
2022-07-29 23:30:01 -04:00
Liam
ec64a94954
common: move forwarded value into SPSCQueue
2022-07-29 15:41:57 -04:00
Kelebek1
f580946b0d
Add missed shader defines. Fixes Xenoblade Chronicles 3 booting with Vulkan.
2022-07-29 06:12:39 +01:00
bunnei
880006c5ca
Merge pull request #8656 from german77/audio-step
...
yuzu: Add incremental steps to volume hotkeys
2022-07-28 15:41:37 -07:00
liamwhite
e5615c4704
Merge pull request #8657 from Kelebek1/depop
...
[Audio] Avoid an out-of-bounds span write in depop prepare
2022-07-28 11:02:41 -04:00
Liam
cbe5b8a13e
video_core: differentiate between tiled and untiled framebuffer sizes for unaccelerated copies
2022-07-27 21:52:06 -04:00
Maide
2e46110379
Revert Coretiming PRs 8531 and 7454 ( #8591 )
2022-07-27 19:47:06 -04:00
snek
b7642cff36
implement pause on system suspend ( #8585 )
2022-07-27 19:46:03 -04:00
Kelebek1
6c47b43a60
Avoid depop out of bounds
2022-07-27 23:17:18 +01:00
liamwhite
ea861cc1c4
Merge pull request #8542 from Morph1984/gpu-use-old-q
...
gpu_thread: Use the previous MPSCQueue implementation
2022-07-27 15:55:28 -04:00
liamwhite
64fd9f41a7
Merge pull request #8636 from german77/irs_cluster_release
...
service: irs: Implement clustering processor
2022-07-27 15:54:28 -04:00
liamwhite
a761d020c6
Merge pull request #8633 from Morph1984/optional-keys
...
applet/swkbd: Implement optional symbol keys
2022-07-27 15:53:32 -04:00
snek
9479940a1f
Merge pull request #8592 from devsnek/sig-handlers
...
exit gracefully on sigint/sigterm
2022-07-27 15:51:26 -04:00
Narr the Reg
2fdefd7064
yuzu: Add incremental steps to volume hotkeys
2022-07-27 11:34:46 -05:00
Andrea Pappacoda
cdb240f3d4
chore: make yuzu REUSE compliant
...
[REUSE] is a specification that aims at making file copyright
information consistent, so that it can be both human and machine
readable. It basically requires that all files have a header containing
copyright and licensing information. When this isn't possible, like
when dealing with binary assets, generated files or embedded third-party
dependencies, it is permitted to insert copyright information in the
`.reuse/dep5` file.
Oh, and it also requires that all the licenses used in the project are
present in the `LICENSES` folder, that's why the diff is so huge.
This can be done automatically with `reuse download --all`.
The `reuse` tool also contains a handy subcommand that analyzes the
project and tells whether or not the project is (still) compliant,
`reuse lint`.
Following REUSE has a few advantages over the current approach:
- Copyright information is easy to access for users / downstream
- Files like `dist/license.md` do not need to exist anymore, as
`.reuse/dep5` is used instead
- `reuse lint` makes it easy to ensure that copyright information of
files like binary assets / images is always accurate and up to date
To add copyright information of files that didn't have it I looked up
who committed what and when, for each file. As yuzu contributors do not
have to sign a CLA or similar I couldn't assume that copyright ownership
was of the "yuzu Emulator Project", so I used the name and/or email of
the commit author instead.
[REUSE]: https://reuse.software
Follow-up to 01cf05bc75
2022-07-27 12:53:49 +02:00
FearlessTobi
a41baaa181
network: Address review comments
2022-07-25 21:59:31 +02:00
FearlessTobi
61ce57b524
network, yuzu: Make copyright headers SPDX-compliant
2022-07-25 21:59:31 +02:00
FearlessTobi
6a2dcc8b3d
network, yuzu: Improve variable naming and style consistency
2022-07-25 21:59:31 +02:00
FearlessTobi
6b5667dfa5
yuzu_cmd: Fix compilation
2022-07-25 21:59:31 +02:00
FearlessTobi
7d82e57b91
network: Move global state into a seperate class
...
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
2022-07-25 21:59:31 +02:00
german77
899c8bb330
common: multiplayer: Use GameInfo type
2022-07-25 21:59:31 +02:00
FearlessTobi
4b404191cf
Address second part of review comments
2022-07-25 21:59:30 +02:00
FearlessTobi
6c8e456185
Address first part of review comments
2022-07-25 21:59:30 +02:00
FearlessTobi
ec407bd3f1
Fix compilation on linux gcc
2022-07-25 21:59:30 +02:00
FearlessTobi
ee5cb9c7b9
web_service: Fix -Wmissing-field-initializers
2022-07-25 21:59:30 +02:00
FearlessTobi
7fbd2916a1
core: Fix -Wunused-variable
2022-07-25 21:59:30 +02:00
FearlessTobi
7c3d241f0d
common, core: fix -Wmissing-field-initializers
2022-07-25 21:59:30 +02:00
FearlessTobi
1b36542be2
yuzu: Hide multiplayer button and room status
2022-07-25 21:59:30 +02:00
FearlessTobi
705f7db84d
yuzu: Add ui files for multiplayer rooms
2022-07-25 21:59:28 +02:00
FearlessTobi
dcfe0a5feb
network: Add initial files and enet dependency
2022-07-25 21:57:14 +02:00
bunnei
1bcde9dd98
Merge pull request #8564 from lat9nq/dinner-fork
...
yuzu: Streamline broken Vulkan handling
2022-07-25 12:12:41 -07:00
Narr the Reg
ceb70b2139
Address comments
2022-07-25 11:17:48 -05:00
Liam
6523854dd6
kernel: unlayer CPU interrupt handling
2022-07-25 12:14:15 -04:00
Morph
591d1f1b09
Merge pull request #8549 from liamwhite/kscheduler-sc
...
kernel: use KScheduler from Mesosphere
2022-07-25 12:00:31 -04:00
german77
21b1e9c21a
fix compiler errors
2022-07-24 16:39:32 -05:00
german77
3ac4f3a252
service: irs: Implement clustering processor
2022-07-24 15:01:43 -05:00
Liam
862142213f
qt: reset progress bar after shader compilation
2022-07-24 13:35:44 -04:00
Morph
d7d09355e7
qt_software_keyboard: Fix infinite loop when moving between buttons
...
There was a bug where, when using the numeric keyboard, moving between buttons resulted in an infinite loop, resulting in a stuck state.
This was due to prev_button being the only one enabled in that row or column, causing the condition in the while loop to always be true.
To fix this, detect whether we have returned to that initial row/column and break out of the loop.
2022-07-24 07:27:41 -04:00
Morph
bee823db3a
applet/swkbd: Implement optional symbol keys
...
These are only used in the numeric keyboard, and correspond to the keys to the left and right of the "0" key on the numeric keyboard.
2022-07-24 07:21:02 -04:00
Narr the Reg
403bdc4daf
yuzu: Add webcam support and rebase to latest master
2022-07-23 19:40:25 -05:00
german77
097785e19e
service: irs: Move to IRS namespace and minor fixes
2022-07-23 19:40:25 -05:00
german77
4539700595
service: irs: Split processors and implement ImageTransferProcessor
2022-07-23 19:40:25 -05:00
german77
57311b2c8b
core: hid: Add cammera support
2022-07-23 19:40:25 -05:00
german77
cc83e0a600
yuzu: Hook qt camera to camera driver
2022-07-23 19:40:21 -05:00
german77
f19e7be6e8
input_common: Add camera driver
2022-07-23 19:38:42 -05:00
liamwhite
97729fd8e9
Merge pull request #8545 from Kelebek1/Audio
...
Project Andio
2022-07-23 15:20:39 -04:00
bunnei
d60b0e8655
Merge pull request #8611 from liamwhite/fix-flatpak-crash
...
video_core: use correct byte size for framebuffer
2022-07-22 18:04:17 -07:00
lat9nq
4b93ea59db
ci,CMake: Drop Conan support for vcpkg
...
Between packages breaking, Conan always being a moving target for
minimum required CMake support, and now their moves to Conan 2.0 causing
existing packages to break, I suppose this was a long time coming. vcpkg
isn't without its drawbacks, but at the moment it seems easier on the
project to use for external packages.
Mostly removes the logic for Conan from the root CMakeLists file,
leaving basic find_package()'s in its place. Sets only the
find_package()'s that require CONFIG mode as necessary. clang and linux
CI now use the vcpkg toolchain file configured in the Docker container
when possible.
mingw CI turns off YUZU_TESTS because there's no way on the container to
run Windows executables on a Linux host anyway, and it's not easy to get
Catch2 there.
2022-07-22 20:54:00 -04:00
Kelebek1
458da8a948
Project Andio
2022-07-22 01:11:32 +01:00
bunnei
6e36f4d230
Merge pull request #8598 from Link4565/recv-dontwait
...
Enable the use of MSG_DONTWAIT flag on RecvImpl
2022-07-21 15:43:55 -07:00
Liam
382b41b18f
video_core: use correct byte size for framebuffer
2022-07-19 17:46:26 -04:00
Matías Locatti
6f9bfb10d3
Update configure_input.ui
2022-07-19 16:20:16 -03:00
Gus Caplan
742f67908c
implement resume message
2022-07-17 22:35:07 -07:00
merry
09300abe92
Merge pull request #8569 from merryhime/watchpoints
...
dynarmic: Abort watchpoints ASAP
2022-07-17 22:41:28 +01:00
bunnei
ba8ea95624
Merge pull request #8508 from yuzu-emu/mc-speed-limit
...
hle: service: nvflinger: Factor speed limit into frame time calculation.
2022-07-17 13:59:52 -07:00
bunnei
a5bdf824e6
Merge pull request #8544 from german77/14dot0
...
service: Update some services to 14.0.0+
2022-07-17 12:30:52 -07:00
bunnei
8ca8281f4f
Merge pull request #8543 from BreadFish64/use_tsc_from_caps
...
common/x64: Use TSC clock rate from CPUID when available
2022-07-16 23:14:38 -07:00
bunnei
6d160873c4
hle: service: nvflinger: Fix implicit conversion.
2022-07-16 23:11:42 -07:00
bunnei
02282477e7
yuzu: settings: Remove framerate cap and merge unlocked framerate setting.
...
- These were all somewhat redundant.
2022-07-16 23:11:39 -07:00
bunnei
f8aaa59990
hle: service: nvflinger: Factor speed limit into frame time calculation.
...
- This allows the %-based "Limit Speed Percent" setting to work with MC emulation.
- This is already supported for SC emulation.
2022-07-16 23:10:45 -07:00