Commit Graph

19358 Commits (aa11d73bba386076973010ba4c60d5b04ba828a3)

Author SHA1 Message Date
vonchenplus 0a8c5c8622 video_core: support framebuffer crop rect top not zero 3 years ago
vonchenplus 4bab0d07a6 core: implement clkrst service 3 years ago
Kyle Kienapfel 14e9de6678 code: dodge PAGE_SIZE #define
Some header files, specifically for OSX and Musl libc define PAGE_SIZE to be a number
This is great except in yuzu we're using PAGE_SIZE as a variable

Specific example
`static constexpr u64 PAGE_SIZE = u64(1) << PAGE_BITS;`

PAGE_SIZE PAGE_BITS PAGE_MASK are all similar variables.
Simply deleted the underscores, and then added YUZU_ prefix

Might be worth noting that there are multiple uses in different classes/namespaces
This list may not be exhaustive

Core::Memory   12 bits (4096)
QueryCacheBase 12 bits
ShaderCache    14 bits (16384)
TextureCache   20 bits (1048576, or 1MB)

Fixes #8779
3 years ago
Liam c5c425914f video_core: implement R16G16B16X16 texture format 3 years ago
Liam 39cf6abd94 core/file_sys: fix BuildId padding 3 years ago
Narr the Reg bfbee62340
yuzu: Allow longer controller profile names 3 years ago
liushuyu b00df08145
common: remove unneeded x86-specific header 3 years ago
FearlessTobi 4976d14009 core/socket_proxy: Final nits 3 years ago
german77 72b90a5bbf core: network: Address review comments 3 years ago
FearlessTobi 72ff5cd445 yuzu: Fix crash on shutdown
Previously, accessing the room_network when it was already freed would crash the emulator on shutdown.

Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
3 years ago
FearlessTobi 5cd95fa949 internal_network: Fix mingw compilation
Apparently, "interface" is a reserved keyword on this compiler.
3 years ago
FearlessTobi 6d41088153 core, yuzu: Address first part of review comments 3 years ago
FearlessTobi a5cd639cb6 core/socket_proxy: Fix compilation 3 years ago
FearlessTobi bb84f53539 Make copyright headers SPDX-compliant 3 years ago
FearlessTobi f80c7c4cd5 core, network: Add ability to proxy socket packets 3 years ago
FearlessTobi 035ca99b02 web_service: Correct jwt issuer string 3 years ago
FearlessTobi 9fc03d4b91 dedicated_room: Initial implementation 3 years ago
bunnei d04bc95934
Merge pull request #8739 from merryhime/swizzle_table
video_core/textures/decoders: Avoid SWIZZLE_TABLE
3 years ago
bunnei 411e58de28
Merge pull request #8756 from Kelebek1/vol
Allow audio volume up to 200%
3 years ago
bunnei cba3b05c94
Merge pull request #8755 from Morph1984/delimit-ips
ips_layer: Delimit parsed hex value string
3 years ago
Mai ce42465638
Merge pull request #8741 from Docteh/aboot
Qt: tweak ui files
3 years ago
Kelebek1 85c9e31791 Do some log memes to help perceived volume 3 years ago
liamwhite 5a6a26449c
Merge pull request #8745 from merryhime/null-fastmem-arena
arm_dynarmic: Fix nullptr fastmem arenas
3 years ago
Kelebek1 b25090d960 Allow audio volume up to 200% 3 years ago
Morph a44da3c14d ips_layer: Delimit parsed hex value string
Delimits the hex value string on spaces, slashes, carriage returns or newlines, allowing for comments to be added in-line.
3 years ago
liamwhite e8a59a6931
Merge pull request #8647 from Docteh/default_dark
Linux: handle dark system themes nicely
3 years ago
Kyle Kienapfel d4b1095173 review pass on CheckDarkMode function 3 years ago
liamwhite 536626fdd6
Merge pull request #8731 from FearlessTobi/better-ldn
ldn: Add better stubs and more data types
3 years ago
german77 56115f7732 core: ldn: Address review comments part 2 3 years ago
liamwhite 253e1e6941
Merge pull request #8735 from djrobx/add_vsync
Make vsync setting work for Vulkan
3 years ago
bunnei 2338503241
Merge pull request #8722 from german77/ds4_goes_brrr
hid: core: Delay the stop vibration command when testing
3 years ago
bunnei 0069b5e118
Merge pull request #8724 from german77/no_alpha
hid: core: Properly emulate controller color and battery level
3 years ago
bunnei 4bd8adfe42
Merge pull request #8729 from merryhime/cp15-barriers
arm_dynarmic_cp15: Implement CP15DMB/CP15DSB/CP15ISB
3 years ago
bunnei 15df026d04
Merge pull request #8499 from Docteh/plurals
Translate english plurals
3 years ago
Merry 9bdef7428a arm_dynarmic: Fix nullptr fastmem arenas
Unable to enable fastmem of exclusive access without a valid fastmem arena.
3 years ago
bunnei ada667060a
Merge pull request #8715 from Docteh/suzhou
Qt5 work around for suzhou numerals
3 years ago
Kyle K af9c3e9340 Qt: tweak ui files
make about dialog a bit taller for full message on more systems

for direct_connect.ui hedging bets here, there is a text field for port
number that possibly shouldn't be translated, marking as such, but also
adding a translation note for the event that it makes sense to translate
the placeholder text to something other than the default multiplayer
direct connect port.
3 years ago
Merry f2fbf6d910 video_core/textures/decoders: Avoid SWIZZLE_TABLE 3 years ago
Narr the Reg 301702e548 hid: core: Properly emulate controller color and battery level 3 years ago
Narr the Reg 8eb2c73381 core: ldn: Address review comments 3 years ago
DJRobX d8b160c883 Make vsync setting work for Vulkan 3 years ago
Liam aae208d07f core/arm: fix build error 3 years ago
bunnei 01bb5d5c4d
Merge pull request #8637 from liamwhite/bad-interrupts
kernel: unlayer CPU interrupt handling
3 years ago
Morph 30515b3b27
Merge pull request #8240 from liamwhite/count-cycles
core/arm: re-enable cycle counting
3 years ago
FearlessTobi 12dc05032b ldn: Add better stubs and more data types
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
Co-Authored-By: Morph <39850852+Morph1984@users.noreply.github.com>
3 years ago
Merry 50cda3bd7b arm_dynarmic_cp15: Implement CP15DMB/CP15DSB/CP15ISB 3 years ago
lat9nq e2123b27e8 yuzu: Fix fmt 9.0.0 issues 3 years ago
bunnei 9dc8d02acc
Merge pull request #8658 from liamwhite/plgp
video_core: differentiate between tiled and untiled framebuffer sizes for unaccelerated blits
3 years ago
bunnei 0f2fc6335e
Merge pull request #8700 from liamwhite/xc3-vk-crash
vk_texture_cache: return VK_NULL_HANDLE for views of null images
3 years ago
liamwhite ee5b244cdf
Merge pull request #8667 from Kelebek1/xc3
[SPIRV] Add missed shader defines
3 years ago
Narr the Reg 80b462e553 hid: core: Delay the stop vibration command when testing 3 years ago
Steve cd5bbf0f04
Controller bugfixes in profile select (#8716)
* Controller bugfixes in profile select, closes #8265

2 fixes for using a controller in profile select dialog.

Pressing 'B' cancels the launch of the game
Using controller to select a profile now correctly sets the index to use for the launch

* Added brackets to if statements as requested.
3 years ago
Kyle K b51db12567 Linux: handle dark system themes nicely
yuzu's default theme doesn't specify everything, which is fine for
windows, but in linux anything unspecified is set to the users theme.

Symptoms of this are that a linux user with a dark theme won't think
to change the theme to a dark theme when first using yuzu

Idea here is to try and support arbitrary themes on linux.

preliminary work on a "default_dark" theme, used only as overlay
for any themes that are measured to be dark mode.

Other work done:

FreeDesktop standard icon names:
plus -> list-add
delete refresh, we use view-refresh

remove duplicated icons for qdarkstyle_midnight_blue
referencing icon aliases in the qrc files is the way to go

Note:
Dynamic style changing doesn't appear to work with AppImage
3 years ago
Kyle Kienapfel 63673dcf98 Qt5 work around for suzhou numerals
When windows is told to display Standard digits as suzhou, it is showing
incorrect information in yuzu, file sizes and the CPU speed limiter are
effected by this. See #8698 for some screenshots.

Setting number format to Chinese (Simplified, Hong Kong SAR) is one
way to see this issue in action.

Fixes #8698
3 years ago
Liam c40cec5e58 renderer_vulkan: add format fallbacks for R16G16B16_SFLOAT, R16G16B16_SSCALED, R8G8B8_SSCALED 3 years ago
Liam 1d364adf3e vk_texture_cache: return VK_NULL_HANDLE for views of null images 3 years ago
Liam 00299479ab core/loader: remove ELF loader 3 years ago
Andrea Pappacoda adc8c03fe4
build(externals): rename Findopus to FindOpus
This better matches upstream's FindOpus.cmake file, and it will make
using upstream's FindOpus.cmake file easier.
3 years ago
bunnei 5ae0e5ba67
Merge pull request #8678 from liamwhite/stop-waiting
video_core: stop waiting for shader compilation on user cancel
3 years ago
bunnei 3bbc1cf64c
Merge pull request #8622 from liamwhite/progress
qt: reset progress bar after shader compilation
3 years ago
Nikita Strygin 1cf6f5c623 Properly write out the command buffer when serving close request 3 years ago
Morph 9dcfef744c
Merge pull request #8684 from liamwhite/delete-shader
renderer_opengl: delete shader source after linking
3 years ago
Liam b9360681df renderer_opengl: delete shader source after linking 3 years ago
Kyle Kienapfel 7e0afc641c Translate english plurals
Turns out that for Qt to properly handle plurals in English a
translation needs to be provided, otherwise the user is left with
messages such as "Building: 2 shader(s)"

Plurals for other all other languages are handled on transifex.
I wrote the README.md to just refer to it as a translation
collaboration site just in case we ever switch.

These translations being out of date won't pose any technical problems
so I believe it is fine to handle them manually on a "best effort"
basis.

The files are generated into the source directory so that the
relative filenames are correct. The generated file is added to
.gitignore
3 years ago
Morph f8a005e26e
Merge pull request #8664 from liamwhite/monkey-compiler-v12-1
common: move forwarded value into SPSCQueue
3 years ago
Liam fc013d88cb video_core: stop waiting for shader compilation on user cancel 3 years ago
Liam 73a87edc45 audio_core: fix -Wuninitialized when compiling with ASan 3 years ago
Liam ec64a94954 common: move forwarded value into SPSCQueue 3 years ago
Kelebek1 f580946b0d Add missed shader defines. Fixes Xenoblade Chronicles 3 booting with Vulkan. 3 years ago
bunnei 880006c5ca
Merge pull request #8656 from german77/audio-step
yuzu: Add incremental steps to volume hotkeys
3 years ago
liamwhite e5615c4704
Merge pull request #8657 from Kelebek1/depop
[Audio] Avoid an out-of-bounds span write in depop prepare
3 years ago
Liam cbe5b8a13e video_core: differentiate between tiled and untiled framebuffer sizes for unaccelerated copies 3 years ago
Maide 2e46110379
Revert Coretiming PRs 8531 and 7454 (#8591) 3 years ago
snek b7642cff36
implement pause on system suspend (#8585) 3 years ago
Kelebek1 6c47b43a60 Avoid depop out of bounds 3 years ago
liamwhite ea861cc1c4
Merge pull request #8542 from Morph1984/gpu-use-old-q
gpu_thread: Use the previous MPSCQueue implementation
3 years ago
liamwhite 64fd9f41a7
Merge pull request #8636 from german77/irs_cluster_release
service: irs: Implement clustering processor
3 years ago
liamwhite a761d020c6
Merge pull request #8633 from Morph1984/optional-keys
applet/swkbd: Implement optional symbol keys
3 years ago
snek 9479940a1f
Merge pull request #8592 from devsnek/sig-handlers
exit gracefully on sigint/sigterm
3 years ago
Narr the Reg 2fdefd7064 yuzu: Add incremental steps to volume hotkeys 3 years ago
Andrea Pappacoda cdb240f3d4
chore: make yuzu REUSE compliant
[REUSE] is a specification that aims at making file copyright
information consistent, so that it can be both human and machine
readable. It basically requires that all files have a header containing
copyright and licensing information. When this isn't possible, like
when dealing with binary assets, generated files or embedded third-party
dependencies, it is permitted to insert copyright information in the
`.reuse/dep5` file.

Oh, and it also requires that all the licenses used in the project are
present in the `LICENSES` folder, that's why the diff is so huge.
This can be done automatically with `reuse download --all`.

The `reuse` tool also contains a handy subcommand that analyzes the
project and tells whether or not the project is (still) compliant,
`reuse lint`.

Following REUSE has a few advantages over the current approach:

- Copyright information is easy to access for users / downstream
- Files like `dist/license.md` do not need to exist anymore, as
  `.reuse/dep5` is used instead
- `reuse lint` makes it easy to ensure that copyright information of
  files like binary assets / images is always accurate and up to date

To add copyright information of files that didn't have it I looked up
who committed what and when, for each file. As yuzu contributors do not
have to sign a CLA or similar I couldn't assume that copyright ownership
was of the "yuzu Emulator Project", so I used the name and/or email of
the commit author instead.

[REUSE]: https://reuse.software

Follow-up to 01cf05bc75
3 years ago
FearlessTobi a41baaa181 network: Address review comments 3 years ago
FearlessTobi 61ce57b524 network, yuzu: Make copyright headers SPDX-compliant 3 years ago
FearlessTobi 6a2dcc8b3d network, yuzu: Improve variable naming and style consistency 3 years ago
FearlessTobi 6b5667dfa5 yuzu_cmd: Fix compilation 3 years ago
FearlessTobi 7d82e57b91 network: Move global state into a seperate class
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
3 years ago
german77 899c8bb330 common: multiplayer: Use GameInfo type 3 years ago
FearlessTobi 4b404191cf Address second part of review comments 3 years ago
FearlessTobi 6c8e456185 Address first part of review comments 3 years ago
FearlessTobi ec407bd3f1 Fix compilation on linux gcc 3 years ago
FearlessTobi ee5cb9c7b9 web_service: Fix -Wmissing-field-initializers 3 years ago
FearlessTobi 7fbd2916a1 core: Fix -Wunused-variable 3 years ago
FearlessTobi 7c3d241f0d common, core: fix -Wmissing-field-initializers 3 years ago
FearlessTobi 1b36542be2 yuzu: Hide multiplayer button and room status 3 years ago
FearlessTobi 705f7db84d yuzu: Add ui files for multiplayer rooms 3 years ago
FearlessTobi dcfe0a5feb network: Add initial files and enet dependency 3 years ago
bunnei 1bcde9dd98
Merge pull request #8564 from lat9nq/dinner-fork
yuzu: Streamline broken Vulkan handling
3 years ago
Narr the Reg ceb70b2139 Address comments 3 years ago
Liam 6523854dd6 kernel: unlayer CPU interrupt handling 3 years ago
Morph 591d1f1b09
Merge pull request #8549 from liamwhite/kscheduler-sc
kernel: use KScheduler from Mesosphere
3 years ago