bunnei
d06f7d9f6c
kernel: svc: Add missing error check to CancelSynchronization.
- Avoids a potential crash if the handle is invalid, and also makes this code accurate to real kernel behavior.
5 years ago
Mai M
7b6da43bbf
Merge pull request #6436 from liushuyu/master
src/common/CMakeLists.txt: fix variable escaping
5 years ago
bunnei
c9d0bbb9f9
hle: service: Increase arbitrary max sessions limit.
- Pokemon Sword/Shield are still hitting this for some reason, causing an svcBreak.
5 years ago
bunnei
9d266a4aa3
Merge pull request #6413 from Kewlan/limitable_input_dialog_limit
limitable_input_dialog: Implement character limiter
5 years ago
liushuyu
44a2374808
src/common/CMakeLists.txt: fix variable escaping
5 years ago
Morph
e68dd33d77
Merge pull request #6435 from lioncash/nodisc2
common/fs/path_util: Remove [[nodiscard]] from function with void return
5 years ago
bunnei
7cf63de1f9
Merge pull request #6434 from lioncash/tcontext
configure_ui: Add translation context for file-scope strings
5 years ago
bunnei
e43731d736
Merge pull request #6428 from bunnei/service-thread-crash-fix
hle: kernel: Remove service thread manager and use weak_ptr.
5 years ago
Lioncash
178a1fe364
common/fs/path_util: Remove [[nodiscard]] from function with void return
We can't make use of the return value here, since we don't a return
value to work with.
5 years ago
Lioncash
54537b36cd
configure_ui: Add translation context for file-scope strings
Allows for these strings to show up in the translation files.
5 years ago
Mai M
ef8ddaa207
Merge pull request #6426 from lat9nq/context-menu-start
yuzu qt: Start games from context menu
5 years ago
bunnei
b270cecbab
hle: kernel: KServerSession: Work-around scenario where session is closed too early.
5 years ago
bunnei
4ad8a148ee
hle: kernel: hle_ipc: Ensure SessionRequestHandler is valid.
5 years ago
bunnei
03980020e9
Merge pull request #6412 from clementgallet/yuzu-cmd-window-gl
yuzu-cmd: Fix OpenGL rendering
5 years ago
bunnei
a3de201dcf
hle: kernel: Remove service thread manager and use weak_ptr.
- We no longer need to queue up service threads to be destroyed.
- Fixes a race condition where a thread could be destroyed too early, which caused a crash in Pokemon Sword/Shield.
5 years ago
lat9nq
e85f105a75
yuzu qt: Start games from context menu
This connects the BootGame function to the context menu. In addition,
there is an option to boot without using the custom configuration.
5 years ago
bunnei
f50c6369bd
Merge pull request #6410 from lat9nq/avoid-oob
decoders: Avoid out-of-bounds access
5 years ago
bunnei
558dda5e60
Merge pull request #6414 from bunnei/fix-service-threads
hle: kernel: Refactor to allocate a ServiceThread per service handler.
5 years ago
bunnei
eeb8d0def8
hle: kernel: KServerSession: Use ASSERT_MSG where appropriate.
5 years ago
bunnei
ff57fd7281
hle: kernel: k_server_session: Return service thread by strong pointer.
5 years ago
bunnei
c833ca5fa0
hle: kernel: k_server_session: Ensure service thread is valid before dereference.
5 years ago
bunnei
b5f37c3fcf
Merge pull request #6400 from ameerj/disable-uniform-simplify
buffer_cache: Simplify uniform disabling logic
5 years ago
bunnei
ea1ca74e7a
hle: kernel: hle_ipc: Use default destructor for SessionRequestManager.
5 years ago
bunnei
38d8bcc574
hle: kernel: KAutoObjectWithListContainer: Use boost::instrusive::rbtree.
- Fixes some crashes introduced by our common intrusive red/black tree impl.
5 years ago
Kewlan
667c113f10
limitable_input_dialog: Implement character limiter
When using GetText() you can now choose what set of characters the user can't enter.
5 years ago
Morph
5bca2a9c7c
Merge pull request #6415 from lioncash/res-nodisc
result: Add [[nodiscard]] specifiers where applicable
5 years ago
Rodrigo Locatti
60f7af7379
Merge pull request #6416 from ReinUsesLisp/update-dynarmic
externals: Update dynarmic
5 years ago
ReinUsesLisp
752f3b8d6b
externals: Update dynarmic
5 years ago
Clément Gallet
49406504a2
Avoid -Wshadow warning
Co-authored-by: Mai M. <mathew1800@gmail.com>
5 years ago
Lioncash
c811d0f69d
result: Add [[nodiscard]] specifiers where applicable
The result code classes are used quite extensively throughout both the
kernel and service HLE code. We can mark these member functions as
[[nodiscard]] to prevent a few logic bugs from slipping through.
5 years ago
bunnei
f40fab1aaf
Merge pull request #6362 from lat9nq/reset-to-defaults
yuzu qt: Add settings reset button to general configuration
5 years ago
Mai M
908c4e2b99
Merge pull request #6411 from clementgallet/yuzu-cmd-touch-button
yuzu-cmd: Add touch_from_button in config file
5 years ago
bunnei
8bf7b19d1d
hle: kernel: Refactor to allocate a ServiceThread per service handler.
- Previously, we would allocate a thread per session, which adds new threads on CloneCurrentObject.
- This results in race conditions with N sessions queuing requests to the same service interface.
- Fixes Pokken Tournament DX crashes/softlocks, which were regressed by #6347 .
5 years ago
Clément Gallet
d94248f11b
yuzu-cmd: Fix OpenGL rendering
5 years ago
lat9nq
8aed753c16
decoders: Break instead of continue
continue causes a memory leak in A Hat in Time.
5 years ago
lat9nq
54f2a92203
decoders: Avoid out-of-bounds access
This is not a real fix, so assert here and continue before crashing.
5 years ago
bunnei
3c2b21d3b9
Merge pull request #6392 from german77/controller-widget
settings: Disable controller preview if controller is not active
5 years ago
bunnei
65505640b9
Merge pull request #6389 from german77/Analog_button_fix
input_common: Analog button, use time based position
5 years ago
Maide
416bc9dce5
[game_list] Correct light theme loading ( #6408 )
Correct light theme loading
The setLayout call in game list instantiation will call resizing signals with default values in light theme, which was then being erroneously saved. setLayout doesn't seem to call resizing for any other theme, so I'm not sure why that happens.
5 years ago
Clément Gallet
a009eeaa85
yuzu-cmd: Add touch_from_button in config file
5 years ago
bunnei
5e19cefd59
Merge pull request #6402 from Kelebek1/UI
game_list: Stop the columns resizing on NAND install
5 years ago
bunnei
e715158acf
Merge pull request #6404 from lat9nq/revert_views
yuzu qt: Revert some usages of string_view
5 years ago
bunnei
9e5c58b86e
Merge pull request #6405 from Morph1984/result-success
fsp-srv: Replace one last instance of RESULT_SUCCESS
5 years ago
Morph
8977a5e928
fsp-srv: Replace one last instance of RESULT_SUCCESS
5 years ago
Chloe
8eb5da9a7c
fspsrv: Implement DisableAutoSaveDataCreation ( #6355 )
- Used by Mii Edit
5 years ago
lat9nq
680de959a6
yuzu qt: Revert some usages of string_view
Causes a heap-use-after free reported by AddressSanitizer. This makes
use of std::filesystem::path, but due to that we have to use their
string() function which may not work for all characters.
5 years ago
bunnei
3a3c6b2446
Merge pull request #6308 from Morph1984/result
general: Replace RESULT_NAME with ResultName
5 years ago
bunnei
3aa1dc5030
Merge pull request #6403 from Kewlan/game-list-for-loop-optimization
game_list: Minor for loop optimizations
5 years ago
Kewlan
84dbd57545
game_list: Minor for loop optimizations
There's no need to check the first and last rows since they'll always be the Favorites and AddDir rows.
Also change the name of the clear_all variable for consistency.
5 years ago
Kelebek1
81f77ddfe7
Stop the columns resizing on NAND install
5 years ago