Liam
710220601f
sm:: avoid excessive port recreation
2022-10-31 17:47:39 -04:00
Liam
2a4a371112
kernel: fix single core for service threads
2022-10-31 17:45:46 -04:00
Liam
8f65df7619
kernel: fix port tracking
2022-10-31 17:45:46 -04:00
Liam
57e5211eb6
k_server_session: add SendReplyHLE
2022-10-31 17:45:45 -04:00
Liam
b5a9e6f989
service_thread: convert to map for session management
2022-10-31 17:44:07 -04:00
Liam
2e56a382a9
kernel: invert session request handling flow
2022-10-31 17:44:06 -04:00
bunnei
305d8ede21
Merge pull request #9159 from liamwhite/kbork
...
kernel: more complete fix for KPort reference counting
2022-10-31 11:18:17 -07:00
FengChen
3e0cc4fd75
video_core: Fix drawing trigger mechanism regression
2022-10-31 21:57:38 +08:00
Liam
e86cadc4c4
kernel: more complete fix for KPort reference counting
2022-10-31 08:23:29 -04:00
bunnei
3b0a19f749
Merge pull request #9155 from FernandoS27/goosfraba
...
Vulkan: Fix regression caused by limiting render area to width/height of render targets.
2022-10-30 17:34:28 -07:00
Liam
e9589c859d
k_thread: fix single core
2022-10-30 18:44:29 -04:00
Fernando Sahmkow
ed7af8f0d9
Vulkan: Fix regression caused by limiting render area to width/height of rendef targets.
2022-10-30 21:24:28 +01:00
Liam
3d52adefa1
vk_blit_screen: recreate swapchain images on guest format change
2022-10-30 15:04:16 -04:00
Morph
c6b58636b2
Merge pull request #9151 from liamwhite/dram-size
...
kernel: reinitialize after dram layout change
2022-10-30 13:23:57 -04:00
Liam
a0ed2571c7
kernel: reinitialize after dram layout change
2022-10-30 11:01:22 -04:00
liamwhite
c412018f0a
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
fb64d41b6f
Merge pull request #9149 from german77/volum
...
service: am: Stub SetRecordVolumeMuted
2022-10-29 23:36:15 -07:00
german77
4d66c180ac
service: am: Stub SetRecordVolumeMuted
...
Used by bayonetta 3
2022-10-30 00:34:33 -05:00
Liam
8988c3dea9
k_server_session: fix crashes
2022-10-29 23:05:56 -04:00
bunnei
8e31038129
Merge pull request #9137 from liamwhite/hbmenu
...
Improved support for nx-hbmenu
2022-10-29 16:11:26 -07:00
bunnei
2129b4ea58
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
e6fe6e8411
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
1f55ab85ab
vk_scheduler: Remove recorded_counts
2022-10-28 03:42:43 +02:00
liamwhite
b5dc28edea
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
8544af06f5
arm_interface: curb infinite recursion in stacktrace generation
2022-10-27 16:01:05 -04:00
bunnei
9bbb12f37b
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
71470841bc
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
a71c698323
nvnflinger: release queued handles immediately on disconnection
2022-10-27 08:28:02 -04:00
Liam
4351ab1ff1
vi: implement CloseDisplay
2022-10-27 08:27:38 -04:00
liamwhite
d342210927
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
2636c9f876
video_core: Fix drawing trigger mechanism regression
2022-10-27 13:26:52 +08:00
bunnei
fadd316c24
Merge pull request #9125 from liamwhite/dummy-scheduler
...
kernel: refactor dummy thread wakeups
2022-10-26 09:51:44 -07:00
Lioncash
a8b7993c88
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
89ace6c367
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
22acf5cddb
Merge pull request #9128 from abouvier/patch-1
...
tests: fix for -Wall
2022-10-25 12:36:25 -04:00
liamwhite
1910dce4a4
Merge pull request #9113 from german77/peer_pressure
...
service: nfp: Allow amiibos without keys
2022-10-25 12:13:31 -04:00
liamwhite
f25243fd9d
Merge pull request #9107 from german77/gidoly_rules
...
input_common: cache vibration tests
2022-10-25 12:13:18 -04:00
Alexandre Bouvier
8dbd9adb4a
tests: fix for -Wall
...
Fix #9123
2022-10-25 15:20:23 +00:00
FengChen
072fde772d
video_core: Catch vulkan clear op not all channel need clear
2022-10-25 22:39:29 +08:00
liamwhite
d8c264af1e
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
252ae177ff
Merge pull request #9119 from liamwhite/shutdown-barrier
...
core: barrier service thread shutdown
2022-10-25 06:45:51 -04:00
Feng Chen
33514a0d94
Revert "shader_recompiler/dead_code_elimination: Add DeadBranchElimination pass"
2022-10-25 12:57:25 +08:00
Liam
3980952ab8
kernel: refactor dummy thread wakeups
2022-10-24 19:52:01 -04:00
bunnei
d12a088a98
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
f5ee1a756a
file_sys: Priority display of game titles in the current language
2022-10-24 21:55:25 +08:00
Fernando S
6e7788c26f
Merge pull request #9122 from liamwhite/burnt-chicken
...
nvdrv: fix container destruction order
2022-10-24 12:41:46 +02:00
Liam
e9da7b43d5
nvdrv: fix container destruction order
2022-10-23 19:25:57 -04:00
Liam
ee969900ae
core: barrier service thread shutdown
2022-10-23 05:45:45 -04:00
german77
06555ad6c0
core: hid: Add handheld to nfc devices
2022-10-22 14:05:00 -05:00
Morph
c7e799edb0
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
a60391fbe7
yuzu: Resolve -Wpessimizing-move
2022-10-22 15:02:04 -04:00
Morph
72d7f4f4ff
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
5441b3ec2d
startup_checks: Resolve -Wformat
2022-10-22 15:02:04 -04:00
Morph
afea768e8d
general: Resolve -Wunused-but-set-variable
2022-10-22 15:02:04 -04:00
Morph
c6c56d3e9c
general: Resolve -Wunused-lambda-capture and C5233
2022-10-22 15:02:04 -04:00
Morph
3dd414f844
general: Resolve -Wclass-memaccess
2022-10-22 15:02:04 -04:00
Morph
5c4c90385f
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
ef7ec7ffa1
CMakeLists: Enforce C5233 on MSVC
...
This is similar to Clang's -Wunused-lambda-capture
2022-10-22 15:02:04 -04:00
Morph
9a8db147b2
CMakeLists: Disable C4100 and C4324
...
Disabling C4100 is similar to -Wno-unused-parameter
2022-10-22 15:02:04 -04:00
Morph
dc61af8eb1
CMakeLists: Remove redundant warnings
...
These warnings are already included in /W3.
2022-10-22 15:02:04 -04:00
Morph
e9aa1821e8
decoders: Use 2's complement instead of unary -
...
Resolves C4146 on MSVC
2022-10-22 15:02:04 -04:00
Morph
ea5b59b539
CMakeLists: Treat MSVC warnings as errors
2022-10-22 15:02:04 -04:00
Morph
9fba74d245
general: Enforce C4800 everywhere except in video_core
2022-10-22 15:02:04 -04:00
Morph
4bad20dc5f
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
4531c0fb72
CMakeLists: Consolidate all unused warnings into -Wunused
2022-10-22 15:02:04 -04:00
Morph
4cc8c4beab
CMakeLists: Treat -Wall and -Wextra as errors
2022-10-22 15:02:04 -04:00
Fernando S
99cefb62fd
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
f9f995c56a
video_core: Implement maxwell inline_index method
2022-10-22 16:58:23 +08:00
Narr the Reg
d444a2ffab
service: nfp: Allow amiibos without keys
2022-10-21 23:08:07 -05:00
Narr the Reg
ea7f4aed98
service: nfp: remove unnecessary include
2022-10-21 21:54:31 -05:00
FengChen
8eed4e7ee5
video_coare: Reimplementing the maxwell drawing trigger mechanism
2022-10-21 17:09:22 +08:00
liamwhite
2ca7effbfd
Merge pull request #9106 from lioncash/copy-err
...
hid/npad: Fix copy size in GetSupportedNpadIdTypes
2022-10-21 03:47:02 -04:00
liamwhite
f7ffcb41aa
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
47160b51fb
k_session_request: Add missing override specifier
2022-10-21 01:56:14 -04:00
Morph
d481ac5a0c
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
4432989177
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
6057b801cf
k_session_request: Simplify constructor initialization
2022-10-21 01:53:10 -04:00
german77
96881efdc3
input_common: cache vibration tests
2022-10-21 00:24:08 -05:00
Lioncash
32ce4a4821
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
69832aa1f6
Merge pull request #9078 from liamwhite/session-request
...
kernel: Session request cleanup
2022-10-20 18:07:30 -04:00
liamwhite
655f849484
Merge pull request #9099 from Docteh/undocked
...
Controller Applet had instance of Undocked, make Handheld
2022-10-20 18:05:05 -04:00
bunnei
12ed547269
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
a59d4972af
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
e22dab31d7
Merge pull request #9094 from lioncash/fixed
...
common/fixed_point: Minor interface improvements
2022-10-19 19:00:59 -04:00
Liam
b3c972a500
video_core: don't build ASTC decoder shader unless requested
2022-10-19 18:52:42 -04:00
Liam
c0ae56548e
kernel: remove most SessionRequestManager handling from KServerSession
2022-10-19 16:31:12 -04:00
Liam
7103b8dde3
kernel: add KSessionRequest
2022-10-19 16:31:12 -04:00
liamwhite
6b065e8d73
Merge pull request #9082 from Morph1984/future
...
savedata_factory: Detect future save data paths
2022-10-19 16:28:42 -04:00
liamwhite
4dce02aa8f
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
6291423f8b
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
8b2cadd4e2
core: hle: kernel: Migrate ProcessState to enum class.
2022-10-19 14:03:50 -04:00
Kyle Kienapfel
2c4f84ee2a
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
2da6a39c19
Update audio_core for firmware 15.0.0
2022-10-19 06:16:15 +01:00
Fernando S
8698e12596
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
6118d0d042
Maxwell3D/Puller: Fix regressions and syncing issues.
2022-10-19 06:21:51 +02:00
bunnei
e3cb70d8df
core: Initialize: Add missing braces.
2022-10-18 19:13:35 -07:00
bunnei
438c1b5c18
core: core_timing: Re-initialize if single/multicore state changes.
2022-10-18 19:13:35 -07:00
bunnei
f357ddf644
core: core_timing: Remove unused IsHostTiming.
2022-10-18 19:13:35 -07:00
bunnei
4c2274b2c1
core: hle: kernel: Use result macros for new/changed code.
2022-10-18 19:13:35 -07:00
bunnei
a35c884097
core: Partially persist emulation state across game boots.
2022-10-18 19:13:35 -07:00
bunnei
3785e8d1c7
core: hle: kernel: Fix InitializePreemption order.
2022-10-18 19:13:35 -07:00
bunnei
55ed04af34
core: hle: kernel: k_process: Improve management of page table & cleanup.
2022-10-18 19:13:35 -07:00
bunnei
7dd7b440cc
core: hle: kernel: k_interrupt_manager: HandleInterrupt should not depend on current process.
2022-10-18 19:13:35 -07:00
bunnei
c164affbcb
core: hle: kernel: Remove junk.
2022-10-18 19:13:35 -07:00
bunnei
15eebff127
core: hle: kernel: k_page_table: Impl. LockForUn/MapDeviceAddressSpace, cleanup.
2022-10-18 19:13:35 -07:00
bunnei
2a909989ee
video_core: renderer_vulkan: vk_query_cache: Avoid shutdown crash in QueryPool::Reserve.
2022-10-18 19:13:35 -07:00
bunnei
0eeef46015
core: hle: kernel: Integration application memory block slab manager.
2022-10-18 19:13:34 -07:00
bunnei
98a3854393
core: hle: kernel: k_page_table: Update, and integrate with new KMemoryBlockManager/SlabManager.
2022-10-18 19:13:34 -07:00
bunnei
ddd0ca5f83
core: hle: kernel: k_memory_block: Update.
2022-10-18 19:13:34 -07:00
bunnei
3b1a2fd7db
core: hle: kernel: k_memory_block_manager: Update.
2022-10-18 19:13:34 -07:00
bunnei
97e4cd1c8f
core: hle: kernel: k_thread: Implement thread termination DPC.
2022-10-18 19:13:34 -07:00
bunnei
0592bf30c1
core: hle: kernel: Add KDynamicResourceManager.
2022-10-18 19:13:34 -07:00
bunnei
f6fd69d0d4
core: hle: kernel: Add KDynamicSlabHeap.
2022-10-18 19:13:34 -07:00
bunnei
1089e3cb1e
core: hle: kernel: Add KDynamicPageManager.
2022-10-18 19:13:34 -07:00
bunnei
5a37569052
core: hle: kernel: k_process: Change Status -> State.
2022-10-18 19:13:34 -07:00
bunnei
acc0a8f63a
core: hle: kernel: svc_types: Add SystemThreadPriorityHighest and ProcessState.
2022-10-18 19:13:34 -07:00
bunnei
d9871bab0b
core: device_memory: Templatize GetPointer(..).
2022-10-18 19:13:34 -07:00
bunnei
59dfd7ec29
core: hle: result: Add GetInnerValue and Includes methods.
2022-10-18 19:13:34 -07:00
bunnei
444f94e8f7
core: hle: kernel: svc_common: Add WaitInfinite & cleanup.
2022-10-18 19:13:34 -07:00
Lioncash
d28572d4b8
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
9cc6234265
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
278826ce5b
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
3ba285f09e
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
62d3f2021b
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
801b7a6652
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
3b07fadfe3
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
74bc4a549a
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
ec4c221e1f
Merge pull request #9087 from Morph1984/once
...
general: Add missing pragma once
2022-10-17 22:50:02 -07:00
Liam
53625f087b
kernel: fix slab heap ABA
2022-10-17 17:53:32 -04:00
FengChen
584a200d86
video_core: implement 1D copies based on VMM 'kind'
2022-10-17 15:35:12 +08:00
FengChen
2d53a37461
video_core: Implement memory manager page kind
2022-10-17 15:33:29 +08:00
Morph
4b35f9e78e
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
6a22ed905b
general: Add missing pragma once
2022-10-17 03:14:31 -04:00
Morph
70a392dad1
Merge pull request #9079 from Morph1984/unknown-unkowns
...
general: Fix spelling
2022-10-17 02:56:58 -04:00
Morph
e3c23433fa
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
67007ae698
Address feedback
2022-10-17 09:40:44 +08:00
lat9nq
87b2c9f144
sdl2_sink: Inline variable init into if condition
...
Co-authored-by: Mai <mathew1800@gmail.com>
2022-10-16 21:36:40 -04:00
lat9nq
8e23f79384
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
4e968241f6
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
14a89390d2
video_core: Fix spelling of "synchronize"
2022-10-16 00:50:53 -04:00
Morph
6becbfbaa3
general: Fix spelling of "unknown"
2022-10-16 00:46:22 -04:00
Kyle Kienapfel
8b6e77774e
fix a tiny spelling mistake
...
Kreato pointed this out over on discord.
2022-10-15 14:58:44 -07:00
liamwhite
f57b352e93
Merge pull request #9061 from liamwhite/writable-event
...
kernel: remove KWritableEvent
2022-10-14 17:30:38 -04:00
liamwhite
979676ef89
Merge pull request #9055 from liamwhite/hbl
...
Preliminary support for nx-hbloader
2022-10-14 17:30:11 -04:00
Narr the Reg
34a6ec8d59
audio_core: Revert sink name to sdl2
2022-10-14 10:59:33 -05:00
Kyle Kienapfel
c16b8f5f59
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
177cffa555
Merge pull request #9067 from Morph1984/tess-cw
...
renderer_(opengl/vulkan): Fix tessellation clockwise parameter
2022-10-13 20:12:31 -04:00
liamwhite
6f56ff5c98
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
873b8c58c7
Merge pull request #9032 from liamwhite/stub-friends
...
IFriendService: stub CheckFriendListAvailability
2022-10-13 20:12:08 -04:00
Mai
2abc9f5f3d
Merge pull request #9065 from liamwhite/result-mess
...
result: enforce reference check specialization
2022-10-13 19:54:10 +00:00
Morph
6e9ed95246
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
98c792dbf4
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
e11c862ae6
result: enforce reference check specialization
2022-10-13 12:10:39 -04:00
Liam
09777eea76
kernel: remove KWritableEvent
2022-10-12 20:29:29 -04:00
bunnei
e9f423326f
Merge pull request #9034 from liamwhite/result-macros
...
kernel: add expanded result macros
2022-10-12 17:11:07 -07:00
bunnei
62357f5e0f
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
676abcf2f3
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
e40be60a6f
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
e4db64c22b
Merge pull request #9047 from german77/steam-aspect
...
yuzu: Add 16:10 aspect ratio
2022-10-12 12:54:23 -07:00
bunnei
6c73701035
Merge pull request #9049 from liamwhite/monkeyhawk
...
syncpoint_manager: ensure handle is removable before removing
2022-10-12 12:34:22 -07:00
Liam
545875eaa1
k_server_session: preliminary support for userspace server sessions
2022-10-11 18:40:40 -04:00
Liam
a048c5ca0f
Add implementation of svcCreateSession
2022-10-11 18:15:45 -04:00
Liam
fb88548cb1
general: preliminary support for hbl
2022-10-11 18:15:30 -04:00
Liam
aea16faabf
syncpoint_manager: ensure handle is removable before removing
2022-10-10 19:22:26 -04:00
Kelebek1
bc29a3a188
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
70825554ec
yuzu: Add 16:10 aspect ratio
2022-10-10 13:32:33 -05:00
liamwhite
baacbcb930
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
36d02d1fc3
input_common: have an unique vector in callback status
2022-10-09 12:49:18 -05:00
Kelebek1
8351d39dd0
Choose the SDL audio backend when Cubeb reports too high of a latency
2022-10-09 13:47:59 +01:00
Fernando S
92494454e7
Merge pull request #8766 from Kelebek1/regs
...
[video_core] Update 3D registers
2022-10-09 07:04:03 +02:00
Liam
d10787b40b
core_timing: use high-precision sleeps on non-Windows targets
2022-10-08 18:27:40 -04:00
Liam
20e5a02da1
kernel: add expanded result macros
2022-10-08 12:41:27 -04:00
Liam
7d3c9d928d
fsp_srv: stub GetCacheStorageSize
2022-10-08 12:24:00 -04:00
Liam
b999db4a0f
IFriendService: stub CheckFriendListAvailability
2022-10-07 22:19:41 -04:00
Mai
acdb716777
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
c78c3cb46c
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
40fff449f2
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
21f9dcfd5a
video_core: don't block rendering on screenshots
2022-10-07 17:33:59 -04:00
Morph
5254f0499b
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
37845e1228
Update 3D regs
2022-10-07 14:13:45 +01:00
Liam
82a159f2c4
nfp_types: silence -Wtype-limits
2022-10-07 06:52:28 -04:00
liamwhite
041976f94e
Revert "vulkan: automatically use larger staging buffer sizes when possible"
2022-10-07 04:49:08 -04:00
bunnei
3733e23f07
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
8498313452
Merge pull request #8944 from Tachi107/patch-2
...
build(room): simplify yuzu-room installation
2022-10-06 16:59:04 -07:00
Byte
285aedee4f
vulkan_blitter: Fix pool allocation double free.
2022-10-06 21:00:54 +02:00
Liam
13946e7926
maxwell_dma: remove warnings from implemented functionality
2022-10-06 21:00:54 +02:00
Fernando Sahmkow
1595e77913
General: address feedback
2022-10-06 21:00:54 +02:00
Liam
78362ac6dd
state_tracker: workaround channel setup for homebrew
2022-10-06 21:00:54 +02:00
Liam
d8009fb2d1
general: rework usages of UNREACHABLE macro
2022-10-06 21:00:54 +02:00
Morph
5790abef59
nvdisp: End system frame after requesting to swap buffers
...
Fixes frametime reporting
2022-10-06 21:00:54 +02:00
Morph
6a6b22b67d
address_space: Rename va_start to virt_start
...
Avoids conflicting with the va_start macro
2022-10-06 21:00:54 +02:00
Morph
f8733d9da6
address_space: Address feedback
2022-10-06 21:00:54 +02:00
Morph
5ee9e5e84b
general: Format licenses as per SPDX guidelines
2022-10-06 21:00:54 +02:00
Fernando Sahmkow
340398daf5
NvHostChannels: improve hack for supporting multiple channels.
2022-10-06 21:00:54 +02:00
Fernando Sahmkow
5cbe6e1739
Address Feedback from bylaws.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
40a5c7d398
Nvflinger: correct duplication.
2022-10-06 21:00:53 +02:00
VonChenPlus
9623b1dc5a
Core: Fix get nvmap object random crash
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
2f61540d44
General: Fix clang format.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
7ed9c68b89
Common: Fix variable shadowing.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
46a73fed37
Vulkan Swapchain: Overall improvements.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
710c83e10a
NvDec: Fix regressions.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
5fe5e1913e
Vulkan Texture Cache: Limit render area to the max width/height of the targets.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
707926765b
ImageBase: Basic fixes.
2022-10-06 21:00:53 +02:00
Liam White
6df0663a57
General: Fix compilation for GCC
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
602cb1e42f
VideoCore: Implement formats needed for N64 emulation.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
03a978b04b
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
5ef7ad3294
VideoCore: Add option to dump the macros.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
4124fa18e3
NVDRV: Further improvements.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
7472eb83fc
Buffer Cache: Basic fixes.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
599af475c2
Decoders: Improve overall speed.
2022-10-06 21:00:53 +02:00
bunnei
616e83dd94
DMA & InlineToMemory Engines Rework.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
4c8b983c3a
Maxwell3D: Add small_index_2
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
a1b6ba1602
Memory Manager: ensure safety of GPU to CPU address.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
6a3eca65ea
MemoryManager: Fix errors popping out.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
3c4e05745f
Shader Decompiler: implement better tracking for Vulkan samplers.
2022-10-06 21:00:53 +02:00
Fernando Sahmkow
dc74837ac9
Shader Decompiler: Check for shift when deriving composite samplers.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
335b4b81cd
Shader Decompiler: Fix dangerous behavior of invalid iterator insertion.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
8f0981702a
MemoryManager: Finish up the initial implementation.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
140926e2b5
OpenGL: Fix TickWork
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
42ef10060a
VideoCore: Refactor fencing system.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
67bb131e37
MemoryManager: initial multi paging system implementation.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
c344514f8c
Vulkan: Fix Scissor on Clears
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
43d8a8fb77
NVDRV: Further refactors and eliminate old code.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
383f95a063
NVDRV: Refactor Host1x
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
a6425c97e4
VideoCore: Refactor syncing.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
95059af14c
Texture Cache: Fix GC and GPU Modified on Joins.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
bc66debfdc
Texture cache: Fix the remaining issues with memory mnagement and unmapping.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
c98aff1660
Texture cache: Fix dangling references on multichannel.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
0925f2386a
Refactor VideoCore to use AS sepparate from Channel.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
618dac2d51
General: Rebase fixes.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
a933bd94d6
VideoCore: Extra Fixes.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
19d8ea6bd6
NVDRV: Remake ASGPU
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
1d95a124a7
NVDRV: Update copyright notices.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
80a4737010
MemoryManager: Temporary Fix for NVDEC.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
448ec77acb
NvHostCtrl: Fix merge of nvflinger.
2022-10-06 21:00:52 +02:00
Fernando Sahmkow
a4346d16ed
VideoCore: Update MemoryManager
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
68f5643159
Common: implement MultiLevelPageTable.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
9f62d4f41f
VideoCore: Fix channels with disk pipeline/shader cache.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
3b7b493a33
OpenGl: Implement Channels.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
199642590c
NVHOST_CTRl: Implement missing method and fix some stuffs.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
8847b6645c
VideoCore: implement channels on gpu caches.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
5ca7d7118f
NVASGPU: Fix Remap.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
f43a322d65
NVDRV: Fix clearing when destroying.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
461c659d48
NVMAP: Fix the Free return parameters.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
5ed054796f
NVDRV: Fix Open/Close and make sure each device is correctly created.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
21138043da
NVDRV: Implement new NvMap
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
3991518f74
NVDRV: Refactor and add new NvMap.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
2821dbf166
NVDRV: Cleanup.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
69e08ad83b
NVDRV: Implement QueryEvent.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
4165ead1f1
NvHost: Remake Ctrl Implementation.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
987ef2824c
NvHost: Try a different approach to blocking.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
ea941e1d76
NvHost: Fix some regressions and correct signaling on timeout.
2022-10-06 21:00:51 +02:00
Fernando Sahmkow
b7df4e83d1
Texture Cache: Add ASTC 10x5 Format.
2022-10-06 16:45:40 +02:00
bunnei
29d949a485
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
67d9e90872
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
538ae13298
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
f22d7d4e4f
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
90c03e4be1
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
41651dda1a
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
9dee93624d
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
9e7b0bc155
vk_scheduler: wait for command processing to complete
2022-10-03 20:03:25 -04:00
Narr the Reg
280a232e27
service: nfp: Fix errors to pass unit testing
2022-10-03 18:06:55 -05:00
Liam
47fc168030
common: remove "yuzu:" prefix from thread names
2022-10-03 18:43:56 -04:00
Liam
6bac6d044f
shader_recompiler: add extended LDC to GLASM backend
2022-10-02 17:32:54 -04:00
bunnei
e23adcd481
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
d19a30670f
service: mii: Copy only valid name bytes
2022-10-02 12:34:24 -05:00
Narr the Reg
1c5a057252
service: nfp: Implement mount target and open application area errors, minor fixes
2022-10-02 12:34:14 -05:00
german77
d08c8cf877
nfp: Multiple fixes against HW
2022-10-02 12:32:26 -05:00
german77
d389a05005
service: nfp: address comments
2022-10-02 12:32:26 -05:00
german77
28792b26a5
service: nfp: Rewrite and implement applet calls
2022-10-02 12:32:26 -05:00
german77
3be3a16c01
core: hid: Add nfc support to emulated controller
2022-10-02 12:32:26 -05:00
german77
7920479224
yuzu: Use virtual amiibo driver instead of nfp service
2022-10-02 12:32:26 -05:00
german77
004f8f9512
input_common: Enable virtual amiibo driver
2022-10-02 12:32:26 -05:00
german77
56b1301938
input_common: Create virtual amiibo driver
2022-10-02 12:32:26 -05:00
bunnei
ed0b7e1666
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
4c82c53624
Merge pull request #6598 from FernandoS27/falklands-are-british
...
MacroHLE: Add MultidrawIndirect HLE Macro.
2022-10-01 20:58:03 -04:00
Fernando Sahmkow
83f9ff6b1e
MacroHLE: Add MultidrawIndirect HLE Macro.
2022-10-01 20:57:00 -04:00
Liam
bedaf2f959
macro_jit_x64: fix miscompilation of bit extraction operations
2022-10-01 20:31:21 -04:00
Kyle Kienapfel
7bf9b04010
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
836eb41341
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
bda0f9b410
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
f92bedb450
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
2eb08dac0f
Fix "controller.colors_state.right" being "left"
2022-10-01 18:18:08 +02:00
Liam
52a802abdd
macro_jit_x64: cancel exit for taken branch
2022-10-01 01:32:24 -04:00
bunnei
48430f14cb
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
4df48d6b35
Merge pull request #8934 from german77/palma_release
...
service: hid: Partially implement palma controller
2022-09-29 12:48:28 -07:00
bunnei
8fa025730a
Merge pull request #8940 from german77/silence
...
yuzu: Silence some clang warnings
2022-09-28 14:37:23 -07:00
Morph
55fef19014
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
23c1bf736f
service: vi: Move VI results into its own file
2022-09-25 20:33:25 -04:00
Merry
62b91b0094
core/loader: Return nullptr if file is nullptr
2022-09-25 19:31:35 +01:00
Liam
08f063e6a4
vulkan: automatically use larger staging buffer sizes when possible
2022-09-25 02:28:03 -04:00
bunnei
a8091a7823
Merge pull request #8920 from abouvier/cmake-git
...
cmake: fix git detection
2022-09-24 23:11:45 -07:00
Narr the Reg
adb6348255
service: hid: Partially implement palma controller
2022-09-25 00:13:12 -05:00
bunnei
f0003d06f1
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
cf67c58c1a
Merge pull request #8945 from Tachi107/typos
...
chore: fix some typos
2022-09-23 20:28:43 -04:00
Morph
2e3839ae71
Merge pull request #8948 from german77/order
...
yuzu: sort input profiles by name
2022-09-23 20:28:35 -04:00
Morph
778035ccf1
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
7241fc17ae
yuzu: sort input profiles by name
2022-09-23 12:31:35 -05:00
Morph
2f957dba1e
Merge pull request #8943 from lioncash/netiface
...
sockets: Make fd member variable protected
2022-09-23 09:08:07 -04:00
Morph
46051dfa8e
Merge pull request #8939 from lioncash/render
...
audio_renderer: Make GetCommandBuffer() take a u32
2022-09-23 09:07:52 -04:00