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
Andrea Pappacoda
b1585fed5a
chore: fix some typos
...
Fix some typos reported by Lintian
2022-09-23 13:38:23 +02:00
Andrea Pappacoda
c7832866b3
build(room): simplify yuzu-room installation
...
CMake is able to automatically install binaries in the correct location. Also see my older patch, 6f16891f43
Cc: @FearlessTobi
2022-09-22 21:51:56 +02:00
Lioncash
a260c09deb
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
c8f8b9e076
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
ca0d1fd4f1
yuzu: Silence some clang warnings
2022-09-21 11:51:31 -05:00
Lioncash
17a8113847
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
b224cf3809
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
bf679951d1
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
d268f6fc9e
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
6ac5fbc81b
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
d10f7af6cb
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
1019e52885
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
1c14030b31
Address some review comments
2022-09-20 19:36:32 +02:00
FengChen
1dd5d8fc8e
video_core: Fix legacy to generic location unpaired
2022-09-20 12:03:31 +08:00
Feng Chen
328ad69854
Merge branch 'master' into mipmap
2022-09-20 11:56:43 +08:00
FengChen
38e9c78843
video_core: Generate mipmap texture by drawing
2022-09-20 11:55:43 +08:00
bunnei
fa7daaf171
Merge pull request #8849 from Morph1984/parallel-astc
...
astc: Enable parallel CPU astc decoding
2022-09-19 12:17:51 -07:00
lat9nq
e5392df1a5
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
f39b70a21b
Merge pull request #8915 from vonchenplus/opus_multi_stream
...
core: implement HwOpus GetWorkBufferSizeForMultiStreamEx
2022-09-17 16:07:33 -07:00
Alexandre Bouvier
8a1d99e72d
cmake: fix git detection
2022-09-18 00:04:35 +02:00
bunnei
c5d72b926d
Merge pull request #8827 from german77/amiibo_release
...
core: nfp: Implement amiibo encryption
2022-09-17 11:11:21 -07:00
bunnei
58975829b7
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
bc648de552
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
2b1c08bc2b
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
8298ce7856
Merge pull request #8869 from SachinVin/cmake
...
core/CMakeLists.txt: Remove duplicate files.
2022-09-16 13:11:33 -04:00
Morph
f013dea5aa
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
8c3b3247ea
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
b85bd1b548
core: implement HwOpus GetWorkBufferSizeForMultiStreamEx
2022-09-17 00:28:56 +08:00
Morph
8eb4dc577c
Merge pull request #8911 from lioncash/cexpr-string
...
audio_device: Make AudioDeviceName constructor constexpr
2022-09-16 10:18:58 -04:00
Morph
e48a46f331
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
98396de8f3
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
d4623d8dc8
sink_stream: Mark GetQueueSize as const
2022-09-16 10:00:52 -04:00
Lioncash
80bcd1a873
node_states: Mark relevant member functions as const
2022-09-16 09:59:56 -04:00
Lioncash
f7da76494b
i3dl2/reverb: Mark relevant member functions as const
...
These two don't modify member state.
2022-09-16 09:58:49 -04:00
Lioncash
5629e0e145
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
a66000f077
audio_device: Mark GetDeviceVolume as const
...
This doesn't modify instance state.
2022-09-16 09:52:34 -04:00
Lioncash
7ed5490b2f
audio_render_manager: Mark several functions as const
2022-09-16 09:50:32 -04:00
Lioncash
7ee4876f17
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
1e6ce3d3c9
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
12b4a200e9
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
f726bcbf56
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
0bf42e31e4
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
4b86f6d066
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
ba667d9af0
Merge pull request #8878 from Kelebek1/remove_pause
...
Remove pause callbacks from coretiming
2022-09-15 13:50:13 -07:00
liamwhite
714af6a6ac
Merge pull request #8901 from lioncash/docs
...
audio_core: Amend documentation comment tags
2022-09-15 10:36:18 -04:00
Narr the Reg
d1327c5ddc
Merge pull request #8909 from Docteh/taslinky
...
UI: Fix link to TAS help page
2022-09-15 08:48:12 -05:00
Lioncash
af8ce57e18
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
2163fc3eae
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
1747b5ae6c
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
0f1024b334
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
b8b37d6900
video_core: Modify astc texture decode error fill value
2022-09-15 17:04:44 +08:00
Kyle Kienapfel
82258e77ff
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
49e1d6f43c
common: do not link to xbyak on non-amd64 architectures
2022-09-13 17:19:37 -06:00
Lioncash
b3c364d18b
compressor: Simplify memset in InitializeCompressorEffect
...
Provides equivalent behavior while being significantly smaller.
2022-09-13 13:34:58 -04:00
Lioncash
d145c663c3
compressor: Mark params parameters as const
...
These functions don't modify the parameters.
2022-09-13 13:33:41 -04:00
Lioncash
3a30364ff1
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
c6d4071162
Remove pause callbacks from coretiming
2022-09-13 13:20:35 +01:00
Mai
9b82baf9d6
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
0c01ac7410
Remove a pragma once from a cpp file
2022-09-12 19:27:11 +01:00
german77
1472f16091
input_common: Increase mapping timer from 2.5 seconds to 4 seconds
2022-09-11 08:58:06 -05:00
liushuyu
a11b1748b5
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
9519253ccd
fix black icon
2022-09-10 18:56:06 -05:00
bunnei
543aa077ee
Merge pull request #8842 from Kelebek1/AudOut
...
[audio_core] Rework audio output
2022-09-10 11:01:11 -07:00
german77
dd33c0c473
yuzu: Multiple room UI improvements
2022-09-10 19:39:25 +02:00
FengChen
ccc4202735
Align index buffe size when vertex_buffer_unified_memory enable
2022-09-10 20:01:33 +08:00
bunnei
44ce3eaf4c
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
7dc3d49135
Merge pull request #8864 from german77/toggle_analog
...
input_common: Add support for analog toggle
2022-09-09 20:54:01 -07:00
FearlessTobi
48d6226115
ldn: Initial implementation
2022-09-09 14:30:22 +02:00
lat9nq
c48259ca81
Merge pull request #8819 from liamwhite/cash-money
...
video_core: add option for pessimistic flushing
2022-09-08 22:46:58 -04:00
SachinVin
262f5b96b5
core/CMakeLists.txt: Remove duplicate files.
2022-09-08 22:03:53 +05:30
Kyle Kienapfel
ec9486ff67
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
817b96446e
core: nfp: Remove magic numbers
2022-09-07 09:49:43 -05:00
german77
c990e2d2f5
core: nfp: Workaround for lack of multiple nfp interfaces
2022-09-07 01:04:00 -05:00
Narr the Reg
8c377e882e
core: nfp: Correct date and amiibo name
2022-09-07 01:04:00 -05:00
Narr the Reg
8301e770f9
core: nfp: Implement Convert and RecreateApplicationArea, accuracy fixes
2022-09-07 01:04:00 -05:00
german77
44dff8f633
core: nfp: Implement amiibo encryption
2022-09-07 01:04:00 -05:00
Narr the Reg
30a63bdb9b
yuzu: input: fix invert symbol on axis and order options alphabetically
2022-09-06 11:44:29 -05:00
Narr the Reg
d4fb46d8f9
input_common: Add support for analog toggle
2022-09-06 11:21:28 -05:00
bunnei
bc5911caa8
Merge pull request #8837 from Morph1984/invalidate
...
(shader/pipeline)_cache: Raise shader/pipeline cache version
2022-09-05 18:20:54 -07:00
bunnei
106521be61
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
07d2e08272
core: hid: Fix GC triggers overwritting ZL and ZR buttons
2022-09-05 16:09:21 -05:00
lat9nq
a74926319c
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
72617ceb01
vcpkg,cmake: Use vcpkg for dbghelp
2022-09-04 21:36:05 -04:00
lat9nq
bd3f300964
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
49b8c65045
mini_dump: Cleanup and add comments
...
Removes some unnecessary code.
wip
2022-09-04 21:36:05 -04:00
lat9nq
554b7e220b
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
77a30f7286
Don't stall with nvdec
2022-09-04 05:41:06 +01:00
Narr the Reg
2d6690468b
input_common: sdl: Always check for motion on reconnect
2022-09-03 17:52:57 -05:00
liamwhite
9a73dfdf56
Merge pull request #8855 from german77/pls
...
core: ns: Implement pl:s service
2022-09-03 18:35:38 -04:00
Narr the Reg
98d62e931a
core: ns: Implement pl:s service
2022-09-03 17:32:12 -04:00
Kyle Kienapfel
e97afb9e3b
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
3210654f5a
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
9bec068e76
Merge pull request #8843 from Kelebek1/SILENCE_WENCH
...
Silence a million MSVC warnings
2022-09-02 05:51:44 -04:00
Kelebek1
c3e3874d8d
Rework audio output, connecting AudioOut into coretiming to fix desync during heavy loads.
2022-09-02 04:43:04 +01:00
FearlessTobi
f24b74d4c1
Address review comments
2022-09-02 00:50:32 +02:00
Kelebek1
f121da072a
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
a0732144ba
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
649c49525d
style: General style changes to match with the rest of the codebase
2022-08-31 08:51:47 -04:00
Morph
9488b889a0
(shader/pipeline)_cache: Raise shader/pipeline cache version
...
Since the following commit: af222dc924 , many games will refuse to boot unless the shader/pipeline cache has been invalidated.
2022-08-31 08:39:37 -04:00
Fernando S
af222dc924
Merge pull request #8752 from vonchenplus/rectangle_texture
...
video_code: support rectangle texture
2022-08-31 10:40:45 +02:00
bunnei
87fe8f4085
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
8a5fed2c9d
core/ldn_types: Minor corrections and additions
2022-08-27 04:49:10 +02:00
FearlessTobi
21db2855c0
yuzu/chat_room: Make font size bigger
2022-08-27 04:04:00 +02:00
FearlessTobi
ae295a79dc
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
ce204d9ad0
yuzu/multiplayer: Warn when game is running or no network interface is selected
2022-08-27 03:41:19 +02:00
FearlessTobi
f3284250ce
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
31c4475420
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
6e12699e82
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
6d3dba4b98
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
d841898d4d
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
869724c3a5
yuzu_room: Remove dependency on core
2022-08-27 03:02:21 +02:00
bunnei
52dc2cbe57
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
39c3184237
video_core: add option for pessimistic flushing
2022-08-25 12:32:14 -04:00
FengChen
98656c14a8
video_code: support rectangle texture
2022-08-25 12:45:58 +08:00
bunnei
9ad065b476
Merge pull request #8812 from Kelebek1/auto
...
[Audio] Implement AudRenU:RequestUpdateAuto
2022-08-24 11:45:56 -07:00
Kelebek1
15c4734b5b
Implement AudRenU:RequestUpdateAuto, and use C descriptors when B reports as empty.
2022-08-24 18:14:21 +01:00
Narr the Reg
cdfffecbd0
video_core: vulkan: rasterizer: Workaround on viewport swizzle on AMD
2022-08-23 18:38:34 -05:00
bunnei
fdc9c4ea0c
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
d2dce477d3
yuzu: Force camera output to be saved on a buffer ( #8805 )
2022-08-22 23:54:48 -05:00
vonchenplus
eab51849f7
core:filesystem: speed up IDirectory service
2022-08-23 09:05:59 +08:00
german77
3d8cb61bfd
hid: core: Add missing function table names
2022-08-21 23:31:53 -05:00
liamwhite
d16ea1c63c
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
a903de9ec8
Merge pull request #8660 from Tachi107/findmodules-pkg-config
...
build: simplify find modules
2022-08-21 13:42:42 -04:00
liamwhite
eaf4777e58
Merge pull request #8784 from Docteh/nosnek
...
code: dodge PAGE_SIZE #define
2022-08-21 12:59:01 -04:00
Liam
0676dbfea1
core/file_sys: fix alignment of BuildId
2022-08-21 12:28:36 -04:00
bunnei
495b3a7e72
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
7dc9abcd92
Merge pull request #8783 from german77/looong
...
yuzu: Allow longer controller profile names
2022-08-20 18:31:46 -04:00
liamwhite
c234cfd005
Merge pull request #8797 from Docteh/filtering
...
Qt: Retranslate GameList header and Filter line
2022-08-20 18:31:39 -04:00
liamwhite
191c41c2e9
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
92593964ad
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
477cdc7566
video_core: support framebuffer crop rect top not zero
2022-08-20 21:41:40 +08:00
vonchenplus
37a5b8aded
core: implement clkrst service
2022-08-20 14:08:59 +08:00
Kyle Kienapfel
ea00332a67
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
ee4ec6a211
video_core: implement R16G16B16X16 texture format
2022-08-19 17:17:38 -04:00
Liam
0812bb34ea
core/file_sys: fix BuildId padding
2022-08-19 17:16:33 -04:00
Narr the Reg
d98ce142ca
yuzu: Allow longer controller profile names
2022-08-18 17:46:39 -05:00
liushuyu
1702caebbb
common: remove unneeded x86-specific header
2022-08-16 15:19:57 -06:00
FearlessTobi
df835dc289
core/socket_proxy: Final nits
2022-08-15 23:50:19 +02:00
german77
e398b2af5c
core: network: Address review comments
2022-08-15 20:25:42 +02:00
FearlessTobi
3fa1a0f8fa
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
0351eadbdb
internal_network: Fix mingw compilation
...
Apparently, "interface" is a reserved keyword on this compiler.
2022-08-15 20:25:42 +02:00
FearlessTobi
851ec302b1
core, yuzu: Address first part of review comments
2022-08-15 20:25:42 +02:00
FearlessTobi
5776601ca7
core/socket_proxy: Fix compilation
2022-08-15 20:25:42 +02:00
FearlessTobi
ce2eefb57c
Make copyright headers SPDX-compliant
2022-08-15 20:25:42 +02:00
FearlessTobi
ce5b9d370d
core, network: Add ability to proxy socket packets
2022-08-15 20:25:42 +02:00
FearlessTobi
0971372b57
web_service: Correct jwt issuer string
2022-08-15 20:25:41 +02:00
FearlessTobi
3613aa8624
dedicated_room: Initial implementation
2022-08-15 20:25:41 +02:00
bunnei
9c1fafeeb7
Merge pull request #8739 from merryhime/swizzle_table
...
video_core/textures/decoders: Avoid SWIZZLE_TABLE
2022-08-13 22:03:32 -07:00
bunnei
ad2ee48ae2
Merge pull request #8756 from Kelebek1/vol
...
Allow audio volume up to 200%
2022-08-12 15:40:15 -07:00
bunnei
e8160eb639
Merge pull request #8755 from Morph1984/delimit-ips
...
ips_layer: Delimit parsed hex value string
2022-08-12 14:12:10 -07:00
Mai
e9e0c90bc9
Merge pull request #8741 from Docteh/aboot
...
Qt: tweak ui files
2022-08-12 15:19:37 -04:00
Kelebek1
26353451be
Do some log memes to help perceived volume
2022-08-12 19:59:09 +01:00
liamwhite
530b5032dd
Merge pull request #8745 from merryhime/null-fastmem-arena
...
arm_dynarmic: Fix nullptr fastmem arenas
2022-08-12 14:57:32 -04:00
Kelebek1
c92bcde27e
Allow audio volume up to 200%
2022-08-12 16:57:29 +01:00
Morph
8064454628
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
569beea107
Merge pull request #8647 from Docteh/default_dark
...
Linux: handle dark system themes nicely
2022-08-12 10:05:06 -04:00
Kyle Kienapfel
35170f8ab9
review pass on CheckDarkMode function
2022-08-12 06:13:12 -07:00
liamwhite
2dc71dda07
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
e1f4130f30
core: ldn: Address review comments part 2
2022-08-11 23:12:32 -05:00
liamwhite
e0dbc34706
Merge pull request #8735 from djrobx/add_vsync
...
Make vsync setting work for Vulkan
2022-08-09 20:43:55 -04:00
bunnei
ada0bbe928
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
185d3c9df5
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
448ed1ed01
Merge pull request #8729 from merryhime/cp15-barriers
...
arm_dynarmic_cp15: Implement CP15DMB/CP15DSB/CP15ISB
2022-08-09 16:12:53 -07:00
bunnei
2eb20a49e1
Merge pull request #8499 from Docteh/plurals
...
Translate english plurals
2022-08-09 16:09:14 -07:00
Merry
c5b77f78f8
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
18fee84516
Merge pull request #8715 from Docteh/suzhou
...
Qt5 work around for suzhou numerals
2022-08-09 10:05:47 -07:00
Kyle K
7186818b26
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
e1dd4de1eb
video_core/textures/decoders: Avoid SWIZZLE_TABLE
2022-08-09 00:27:26 +01:00
Narr the Reg
67f4daf029
hid: core: Properly emulate controller color and battery level
2022-08-08 13:12:02 -05:00
Narr the Reg
f91a28773b
core: ldn: Address review comments
2022-08-08 12:49:48 -05:00
DJRobX
705c6c16b9
Make vsync setting work for Vulkan
2022-08-07 20:57:47 -07:00
Liam
a7027fa7c9
core/arm: fix build error
2022-08-07 21:39:54 -04:00
bunnei
f5e9f8c9fe
Merge pull request #8637 from liamwhite/bad-interrupts
...
kernel: unlayer CPU interrupt handling
2022-08-07 17:48:55 -07:00
Morph
d97c307f4d
Merge pull request #8240 from liamwhite/count-cycles
...
core/arm: re-enable cycle counting
2022-08-07 20:30:57 -04:00
FearlessTobi
9f4d6dd979
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
abf143229a
arm_dynarmic_cp15: Implement CP15DMB/CP15DSB/CP15ISB
2022-08-07 22:16:49 +01:00
lat9nq
39feb268ed
yuzu: Fix fmt 9.0.0 issues
2022-08-07 17:02:06 -04:00
bunnei
a25a9d7417
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
24c4cbf99f
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
1ac898374b
Merge pull request #8667 from Kelebek1/xc3
...
[SPIRV] Add missed shader defines
2022-08-06 16:08:32 -04:00
Narr the Reg
7cf52e6eb8
hid: core: Delay the stop vibration command when testing
2022-08-05 17:20:05 -05:00
Steve
6907d1758d
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
6af8034f3e
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
840cc5d25a
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
bffdc2b3ce
renderer_vulkan: add format fallbacks for R16G16B16_SFLOAT, R16G16B16_SSCALED, R8G8B8_SSCALED
2022-08-02 18:39:33 -04:00
Liam
5937160821
vk_texture_cache: return VK_NULL_HANDLE for views of null images
2022-08-02 13:31:42 -04:00
Morph
b5847efa10
core_timing: Sleep in discrete intervals, yield during spin
2022-08-02 01:01:54 -04:00
Kelebek1
4a764c5df7
Add missing looping event schedule signal
2022-08-02 01:01:54 -04:00
Kelebek1
992af57f8d
Make coretiming waiting more accurate
2022-08-02 01:01:54 -04:00
Kelebek1
ea06b32a00
Rework multi-core vsync
2022-08-01 23:51:53 -04:00
lat9nq
c6d7699e40
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
9080ea9ab1
core/loader: remove ELF loader
2022-08-01 17:19:23 -04:00
Andrea Pappacoda
89750a0ebf
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
ceed22dbc4
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
aa3cd29110
Merge pull request #8622 from liamwhite/progress
...
qt: reset progress bar after shader compilation
2022-07-31 14:46:38 -07:00
Nikita Strygin
39c3b841d3
Properly write out the command buffer when serving close request
2022-07-31 23:17:45 +03:00
Morph
1d8d16a98f
Merge pull request #8684 from liamwhite/delete-shader
...
renderer_opengl: delete shader source after linking
2022-07-30 21:36:26 -04:00
Liam
652e1a7bde
renderer_opengl: delete shader source after linking
2022-07-30 13:21:26 -04:00
Kyle Kienapfel
d3b46910c1
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
d3d5441aca
Merge pull request #8664 from liamwhite/monkey-compiler-v12-1
...
common: move forwarded value into SPSCQueue
2022-07-30 03:24:23 -04:00