Morph
d4c79a0404
main: Add missing make_unique for ui
5 years ago
bunnei
aef3ae1cb9
Merge pull request #7187 from FernandoS27/boy-i-say-boy
...
NVHost_Ctrl: Force wait if the gpu falls behind too long.
5 years ago
Morph
41b4047536
Merge pull request #7188 from Morph1984/web-applet-include
...
qt_web_browser: Add missing QApplication include
5 years ago
Feng Chen
de81571289
service/vi: Stub IHOSBinderDriver::TransactParcel GetBufferHistory ( #7184 )
5 years ago
Morph
2b622411fd
qt_web_browser: Add missing QApplication include
5 years ago
Fernando Sahmkow
53cf91d151
NvHost/Core: Address Feedback.
5 years ago
FernandoS27
198c6ad0d7
Suspend temporally
5 years ago
FernandoS27
7dca0bc11d
NVHost_Ctrl: Force wait if the gpu falls behind too long.
5 years ago
Romain Failliot
427ce8dcef
ui: fix crash when closing configure window
...
This crash happens 100% of the time (on Linux at least), you just need
to open the configure window and click OK.
It seems to happen when the tabs are destroyed and once all the tabs are
destroyed, a final signal is sent with `index == -1`. So `debug_tab_tab`
doesn't exist anymore when this happens, so the crash.
5 years ago
Morph
5c6ca597c5
bootmanager: Forward declare System and SystemResultStatus
5 years ago
Morph
f0dc07dbac
yuzu: Construct system in GMainWindow
5 years ago
Morph
17763a44d5
core: Move ResultStatus outside of System
...
Allows it to be a forward declaration in other header files.
5 years ago
Morph
218ebc1fe8
yuzu_cmd: Remove remaining static system instances
5 years ago
Morph
b6719094e6
core: Remove static system instance
5 years ago
Mai M
764369f4c7
Merge pull request #7172 from Morph1984/out-of-bounds
...
string_util: Prevent out of bounds access in u16string_view buffer
5 years ago
Mai M
d5c4af2d5b
Merge pull request #7174 from MightyCreak/hide-cursor-by-default
...
Check "Hide mouse on inactivity" by default
5 years ago
Mai M
5b7b7276d5
Merge pull request #7185 from Morph1984/make_unique_ui
...
yuzu: Use make_unique instead of operator new for constructing ui
5 years ago
Romain Failliot
ecef109162
Hide mouse cursor by default
5 years ago
Creak
bad122b195
main: Slightly refactor NCA entry installation in InstallNCA ( #7181 )
...
* main: Slightly refactor NCA entry installation in InstallNCA
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
5 years ago
Morph
86908d569e
main: Use std::unique_ptr for ui
5 years ago
Morph
ab441fb009
configuration: Use std::make_unique instead of operator new for ui
5 years ago
lat9nq
851fe91b69
config: Read network_interface
...
Let's yuzu_cmd use a network interface. Also adds it to the default ini.
5 years ago
Moonlacer
c68ce25a14
settings_ui: Better NVDEC Description For Each Video Rendering Option ( #7165 )
...
* better_description
* Revert "better_description"
This reverts commit 3a152a6ba6f2d6e02530b69a8194e4db302c8acd.
* better_nvdec_wording
* best_performance
* update_word_stuff
* another_update
5 years ago
Morph
b02d662980
Merge pull request #6774 from lat9nq/remove-global-yuzu
...
yuzu qt: Remove global system instances
5 years ago
Morph
0d6057b2fa
string_util: Make use of std::string_view and add bounds checking
...
Makes use of std::string_view in StringFromFixedZeroTerminatedBuffer and add bounds checking
5 years ago
Morph
3ffff78a27
string_util: Prevent out of bounds access in u16string_view buffer
5 years ago
Morph
894b483a0d
Merge pull request #7157 from ameerj/vic-surface-size
...
vic: Use the minimum of surface/frame dimensions when writing the final frame to the GPU
5 years ago
bunnei
2643752f93
Merge pull request #7142 from german77/sdl_range
...
input_common/sdl: Fix joystick range
5 years ago
bunnei
9f0f827db4
Merge pull request #7158 from ameerj/window-900p
...
main: Add option to reset window size to 900p
5 years ago
Morph
50384e2619
KPageTable: Perform ranged invalidation when unmapping code memory
...
Co-Authored-By: Fernando S. <1731197+FernandoS27@users.noreply.github.com>
5 years ago
Ameer J
a39760b947
Merge pull request #7147 from behunin/patch-1
...
Update configure_tas.ui
5 years ago
Ameer J
018cf3853e
Merge pull request #7109 from vonchenplus/fix_h264_max__reference_num_error
...
h264: Use max allowed max_num_ref_frames when using CPU decoding
5 years ago
Creak
0b8a7ca213
common/fs/path_util: Slightly refactor PathManagerImpl's constructor
...
This moves all GenerateYuzuPath calls outside of the platofrm-specific #ifdefs, replacing them with assignments to paths.
5 years ago
Romain Failliot
39b3c9022d
Create local variables for mouse and wheel positions
5 years ago
Romain Failliot
818651909f
Fix a few warnings
...
- configure_input_player_widget.cpp: always better to use `const auto &`
whenever possible
- profiler.cpp: `ev->pos()` is deprecated, replace with
`ev->position()`, which returns floats, thus the addition of
`.toPoint()` (same as what's happening in `pos()`)
- game_list.cpp: `QString::SplitBehavior` is deprecate, use `Qt::`
namespace instead
5 years ago
Morph
97452b9558
Merge pull request #7110 from vonchenplus/fix_extract_offline_romefs_error
...
applets/web: Fallback to loader to get the manual romfs if none is found
5 years ago
german77
8212a864ca
input_common/sdl: Fix joystick range
5 years ago
ameerj
5c829c7e4e
main: Add option to reset window size to 900p
5 years ago
Feng Chen
0ee2185c59
applets/web: Fallback to loader to get the manual romfs if none is found
5 years ago
ameerj
f346b04d12
vic: Use the minimum of surface/frame dimensions when writing the final frame to the GPU
...
Addresses possible buffer overflow behavior.
5 years ago
Feng Chen
ba8be75037
h264: Use max allowed max_num_ref_frames when using CPU decoding
5 years ago
Valeri
0394e4bb8e
vic: Allow surface to be higher than frame
...
Touhou Genso Wanderer Lotus Labyrinth R decodes 1920x1080 videos into 1920x1088 surface.
Only allow mismatch for height, since larger width would result in increasingly offset rows and somewhat defeat entire purpose of this check.
5 years ago
Mai M
39cd6306e6
Merge pull request #7138 from ameerj/vic-fmt
...
vic: Implement RGBX8 video frame format
5 years ago
Levi Behunin
54ae8d1649
Update configure_tas.ui
...
Remove the geometry property again(7045) after 7090 re-added.
5 years ago
ameerj
403fc86c11
vic: Avoid memory corruption when multiple streams with different dimensions are decoded
...
This is a work around to avoid buffer overflow errors until multi channel/multi stream decoding is supported.
5 years ago
ameerj
5aae61775f
vic: Refactor frame writing methods
5 years ago
lat9nq
b6894bfc5b
discord_impl: Remove global system instances
5 years ago
lat9nq
4ce53ffe6a
game_list: Remove global instances of Core::System
5 years ago
lat9nq
493905665c
configuration: Add const qualifier where able
5 years ago
lat9nq
fb66a455c4
yuzu qt: Remove global system instances from config, WaitTree, main
5 years ago
Morph
bea7824bd1
kernel: hle_ipc: Foward declare KAutoObject
5 years ago
Morph
7bb2dd75cd
service: Reduce header include overhead
5 years ago
ameerj
899fdb9c44
vic: Implement RGBX frame format
5 years ago
Fernando S
f84328934f
Merge pull request #7118 from ameerj/vc-gpu-impl
...
gpu: Migrate implementation to the cpp file
5 years ago
bunnei
8fad7dc248
Merge pull request #7090 from Moonlacer/tas_spacing_addition
...
(Minor Change) Hint (?) Button Removal and Spacing Change to the TAS Window
5 years ago
bunnei
5b2fa8dd41
Merge pull request #7115 from ameerj/log-compile
...
common/logging: Reduce dependent header include overhead
5 years ago
bunnei
b869439969
Merge pull request #7103 from Morph1984/service-ctx-event
...
service: Replace all service event creation with ServiceContext::CreateEvent
5 years ago
bunnei
158a693111
Merge pull request #7101 from ameerj/vk-tess-topology
...
vk_graphics_pipeline: Force patch list topology when tessellation is used
5 years ago
Fernando Sahmkow
0498669b4b
Vulkan: Fix failing barrier on refresh.
5 years ago
FernandoS27
bb8bf740e9
RasterizerInterface: Correct size of CPU addresses to cache.
5 years ago
FernandoS27
7f4de3466a
Vulkan: Fix the master Semaphore
5 years ago
bunnei
1d829150ee
Merge pull request #7107 from astrelsky/iob_fix
...
prevent access violation from iob in Memory::IsValidVirtualAddress
5 years ago
Ameer J
01f79d638f
Merge pull request #7091 from vonchenplus/fix_memroy_leak
...
core: Fix memory leak
5 years ago
bunnei
e209fff374
Merge pull request #7111 from lat9nq/no-title-bar-version
...
main: Don't add an extra separator when the title version is absent
5 years ago
bunnei
4a77ceb151
Merge pull request #7113 from Morph1984/no-log-ip-addr
...
network: Do not log IP address
5 years ago
ameerj
71e19153ef
nvflinger: Use jthread and stop_token for VSync thread
...
Avoids a destruction data race that may occur on the vsync thread
5 years ago
ameerj
6c0d902373
nvhost_ctrl: Refactor usage of gpu.LockSync()
...
This seems to only be used to protect a later gpu function call. So we can move the lock into that call instead.
5 years ago
ameerj
427bf76e62
gpu: Migrate implementation to the cpp file
5 years ago
bunnei
21ed944ff9
Merge pull request #6979 from german77/joycon_name
...
input_common: Add alternative string for joycons
5 years ago
Morph
2f5808b7ff
service: am: Make use of Exit to exit the currently running application
...
This also moves the call to the end to ensure services are properly destructed on exit.
5 years ago
Morph
282bdfd1bf
yuzu: main: Register a callback for Exit
5 years ago
Morph
d8467ca6c0
core: Add Exit and ExitCallback
...
This allows ISelfController::Exit to stop the currently running application. This is typically used by homebrew to exit back to the homebrew menu after calling consoleExit with libnx.
5 years ago
Morph
fadcee14f8
service: Replace service event creation with ServiceContext::CreateEvent
...
The service context helps to manage all created events and allows us to close them upon destruction.
5 years ago
Morph
219d0ba978
network: Do not log IP address
...
Logging this may be a privacy concern for some users.
5 years ago
bunnei
3a33519598
Merge pull request #7102 from Morph1984/remove-boxcat
...
Remove Boxcat BCAT backend
5 years ago
ameerj
579f4ea4bd
common/logging: Reduce scope of fmt include
5 years ago
ameerj
5daf3abe65
common/logging: Move Log::Entry declaration to a separate header
...
This reduces the load of requiring to include std::chrono in all files which include log.h
5 years ago
bunnei
c3784b2a08
Merge pull request #7075 from v1993/power-of-tea
...
applets: Use subdirectory of main data directory for QtWebEngine storage
5 years ago
lat9nq
596323f89f
main: Don't add an extra separator when the title version is absent
...
Some titles, such as homebrew, do not have any version string. Because
yuzu hard codes the title bar string assuming a version string is
preset, booting homebrew causes yuzu to add an extra separator with no
content between.
This uses a lambda expression to prevent that from happening.
5 years ago
bunnei
8bd5742349
Merge pull request #7061 from ameerj/dma-buffer-misc
...
buffer_cache, maxwell_dma: Minor refactoring and code fixes
5 years ago
Mai M
b9251155f8
Merge pull request #7104 from Morph1984/style
...
style: Remove extra space preceding the :: operator
5 years ago
Andrew Strelsky
4ce0a650d1
prevent access violation from iob in Memory::IsValidVirtualAddress
5 years ago
bunnei
91341b421d
Merge pull request #7036 from ameerj/ogl-bgr-v2
...
gl_texture_cache: Unify BGR copy passes using PBOs
5 years ago
Andrew Strelsky
3fc7aceea7
Fixed invalid iterator usage
5 years ago
Morph
e29f3b87f1
style: Remove extra space preceding the :: operator
5 years ago
Morph
839547dc90
CMakeLists: Remove BoxCat build option
5 years ago
Morph
8af9f3216e
settings: Remove BCAT settings
5 years ago
Morph
673d37a7c2
configure_network: Remove BCAT
5 years ago
Morph
4acec5283e
service: bcat: Remove BoxCat BCAT implementation
...
The current implementation of BoxCat as it stands is non-functional due to the reliance on a server providing BCAT files.
This implementation will eventually be replaced with one that allows the use of local BCAT files dumped from a Nintendo Switch.
5 years ago
Moonlacer
d09e618bd2
configure_tas: Remove help button from dialog window
5 years ago
Moonlacer
e55affe264
configure_tas: Ensure dialog buttons always stay at the bottom
...
Previously, the dialog buttons would be floating in-place when the dialog is stretched downwards.
This change ensures that the dialog buttons always stay at the bottom of the window.
5 years ago
Morph
5f6cd32c9e
externals: Remove libzip
5 years ago
Morph
616d0236f5
file_sys: Remove vfs_libzip
5 years ago
Morph
781c1d8df8
Merge pull request #7018 from lat9nq/splat-stubs
...
audin_u: stub Start, RegisterBufferEvent, AppendAudioInBufferAuto
5 years ago
Feng Chen
5fbfc4c19e
Fix KShareMemory object leak
5 years ago
Ameer J
fba301155b
Merge pull request #7042 from v1993/patch-7
...
Hide XInput bypass on non-Windows OSes
5 years ago
ameerj
6f35fb8d26
vk_graphics_pipeline: Force patch list topology when tessellation is used
...
Fixes a crash on some drivers when tessellation is used but the IA topology is not patch list.
5 years ago
bunnei
24c0dde958
Merge pull request #7076 from ameerj/amd-botw
...
vk_texture_cache: Disable cube compatibility flag on non-mesa AMD GCN4 and earlier
5 years ago
german77
bc4b4e3f56
service/es: Update to 13.0.0
5 years ago
german77
d780eab357
service/npns: Update to 13.0.0
5 years ago
german77
b0e83f949e
service/vi: Update to 13.0.0
5 years ago
german77
321c64a122
service/am: Update to 13.0.0
5 years ago
german77
d103e2daf9
service/audio: Update to 13.0.0
5 years ago
german77
e401c77351
service/hid: Update to 13.0.0
5 years ago
german77
4b5f0af3fd
service/btdrv: Update to 13.0.0
5 years ago
german77
f5b41068e6
service/usb: Update to 13.0.0
5 years ago
Morph
5114819b6b
Merge pull request #7078 from ameerj/vc-jthread-fixes
...
video_core: Fix jthread related hangs when stopping emulation
5 years ago
Feng Chen
7cd43b139a
Fix KScopedAutoObject object leak when SendSyncRequest
5 years ago
Morph
7dd7c54add
service: bsd: Stub Read
...
- Used by Diablo II: Resurrected
5 years ago
Morph
06f22c3d28
service: bsd: Implement Read
...
- Used by Diablo II: Resurrected
5 years ago
ameerj
73666fb262
general: Update style to clang-format-12
5 years ago
Morph
c8512839d7
Merge pull request #7069 from lioncash/uuid
...
common/uuid: Add validity checking functions to interface
5 years ago
ameerj
ab63a193d7
video_core: Fix jthread related hangs when stopping emulation
...
jthread on some compilers is more picky when it comes to the order in which objects are destroyed.
5 years ago
ameerj
1e1ecca691
vk_texture_cache: Disable cube compatibility flag on non-mesa AMD GCN4 and earlier
...
Fixes rainbow textures on BOTW.
5 years ago
Fernando Sahmkow
d702b393a4
Vulkan Query Cache: make sure to wait for the query result.
5 years ago
Fernando Sahmkow
8fdb51ab46
QueryCache: Flush queries in order of running.
5 years ago
bunnei
326a449ef0
Merge pull request #7068 from behunin/patch-3
...
Debug Config Ui: Clean-up and nits
5 years ago
v1993
3e07655b1b
Use subdirectory of main data directory for QtWebEngine storage
...
Previously, an unrelated directory was used for this. Keep everything together for consistency.
5 years ago
bunnei
17bf40f405
Merge pull request #7045 from behunin/patch-1
...
Tas configure ui nits
5 years ago
Fernando Sahmkow
60a3980561
Vulkan Rasterizer: Correct DepthBias/PolygonOffset on Vulkan.
5 years ago
Lioncash
091e141142
core/profile_select: Avoid uninitialized read in SelectProfile()
...
The default constructor of UUID doesn't initialize its data members, so
we need to directly initialize it to be invalid.
5 years ago
Lioncash
40314cc586
common/uuid: Add validity checking functions to interface
...
Given we have a function to invalidate, we should also have ones to
query the validity. Also makes the code more straightforward to read.
5 years ago
Levi Behunin
2b3c9c61db
Clean-up and nits
...
Remove redundent label, rearange checkboxs to keep same 3 per column layout, remove unneeded properties.
5 years ago
Levi Behunin
77e327dd1a
Clean-up
...
Numerize names, remove unneeded properties and spacer.
5 years ago
bunnei
7b22d61fb1
Merge pull request #7003 from ameerj/unlocked-present-mode
...
vk_swapchain: Use immediate present mode when mailbox is unavailable and FPS is unlocked
5 years ago
Ameer J
cd973d6037
Merge pull request #7017 from FernandoS27/i-am-barbie-girl
...
Spir-V: Rescale the frag depth to 0,1 mode when -1,1 mode is used in Vulkan.
5 years ago
ameerj
24049591f6
maxwell_dma: Minor refactoring
5 years ago
ameerj
1ea8073783
buffer_cache: Minor fixes
...
Loop through the tmp_intervals by reference, rather than by copy, and fix gl clear buffer size calculation.
5 years ago
bunnei
a9c3619d26
Merge pull request #7019 from ameerj/videocore-jthread
...
videocore: Use std::jthread for worker threads
5 years ago
Levi Behunin
ad85689417
Tas configure ui nits
...
Text looked cramped on my pc (Ubuntu 21.04). Re-flowed text as well for nicer read.
5 years ago
german77
75d8ec1e9f
UI: Relocate tas menu and add brief description
5 years ago
german77
5401cf6eb5
input_common/tas: new update method
5 years ago
german77
33a1d790e8
input_common/tas: Document the main class
5 years ago
german77
e6c4bf52f0
input_common/tas: Add swap controller
5 years ago
german77
9bb6580d89
input_common/tas: overwrite file dialog
5 years ago
MonsterDruide1
f078b15565
input_common/tas: Fallback to simple update
5 years ago
german77
c01a872c8e
config: Move TAS options to it's own menu
5 years ago
MonsterDruide1
4297d2fea2
core: Hacky TAS syncing & load pausing
...
To keep the TAS inputs synced to the game speed even through lag spikes and loading zones, deeper access is required.
First, the `TAS::UpdateThread` has to be executed exactly once per frame. This is done by connecting it to the service method the game calls to pass parameters to the GPU: `Service::VI::QueueBuffer`.
Second, the loading time of new subareas and/or kingdoms (SMO) can vary. To counteract that, the `CPU_BOOST_MODE` can be detected: In the `APM`-interface, the call to enabling/disabling the boost mode can be caught and forwarded to the TASing system, which can pause the script execution if neccessary and enabled in the settings.
5 years ago
MonsterDruide1
3a7b37238b
main: TAS Playback state label
...
During script playback/recording, the user has to see what happens currently. For that, a new label has been added to the bottom-left corner, always displaying the current state of the TASing system.
5 years ago
MonsterDruide1
f25d6ebc45
settings: File selector & other settings
...
First of all, TASing requires a script to play back. The user can select the parent directory at `System -> Filesystem`, next to an option to pause TAS during loads: This requires a "hacky" setup deeper in the code and will be added in the last commit.
Also, Hotkeys are being introduced: CTRL+F5 for playback start/stop, CTRL+F6 for re-reading the script and CTRL+F7 for recording a new script.
5 years ago
MonsterDruide1
b42c3ce21d
input_common/tas: Base playback & recording system
...
The base playback system supports up to 8 controllers (specified by `PLAYER_NUMBER` in `tas_input.h`), which all change their inputs simulataneously when `TAS::UpdateThread` is called.
The recording system uses the controller debugger to read the state of the first controller and forwards that data to the TASing system for recording. Currently, this process sadly is not frame-perfect and pixel-accurate.
Co-authored-by: Naii-the-Baf <sfabian200@gmail.com>
Co-authored-by: Narr-the-Reg <juangerman-13@hotmail.com>
5 years ago
bunnei
35f46fc079
Merge pull request #7020 from Moonlacer/remove_audio_stretching
...
Remove audio stretching
5 years ago
Valeri
738cd1896b
If not on Windows, disable raw input
...
This way, if someone copies their Windows config to other OS, they won't be stuck without web applet for no apparent reason.
5 years ago
Valeri
b54bf126f7
Hide XInput bypass on non-Windows OSes
...
Follow-up to #6950 . This option is a no-op on other OSes and only serves to spread confusion there.
5 years ago
bunnei
6d7801deb7
Merge pull request #6950 from german77/multiplay
...
input_common: Add advanced setting for 8 player support
5 years ago
bunnei
d4ee94165f
Merge pull request #7015 from german77/NotGoodForTerra
...
ngct: Stub Match
5 years ago
bunnei
ff54d9615f
Merge pull request #7011 from ameerj/vk-validation-0x0
...
vulkan_debug_callback: Ignore InvalidCommandBuffer-VkDescriptorSet errors
5 years ago
ameerj
22162f906b
host_shaders: Remove opengl_copy_bgra.comp
5 years ago
ameerj
ab808fe7cf
gl_texture_cache: Migrate BGRCopyPass from util_shaders
...
The BGR copies no longer use shaders.
5 years ago
Fernando S
a606b1448b
Merge pull request #7027 from ameerj/sorry-amd
...
vulkan_device: Reorder Float16Int8 declaration
5 years ago