summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | hle: service: sm: Remove redundant session reservation, etc.Gravatar bunnei2021-06-102-18/+13
|/ / / | | | | | | | | | - We were double-reserving, causing us to run out of sessions in Pokemon Sword & Shield.
* | | hle: service: Increase arbitrary max sessions limit.Gravatar bunnei2021-06-101-4/+1
| | | | | | | | | - Pokemon Sword/Shield are still hitting this for some reason, causing an svcBreak.
* | | hle: kernel: KClientPort: Add an assert for session count.Gravatar bunnei2021-06-091-0/+3
| | | | | | | | | | | | - Prevents us from over decrementing num_sessions.
* | | hle: service: sm: Fix GetService setup of session & port.Gravatar bunnei2021-06-092-5/+5
| | |
* | | hle: service: Use correct size for ServerSessionCountMax.Gravatar bunnei2021-06-091-4/+6
| | |
* | | hle: kernel: KServerSession: Fix client disconnected.Gravatar bunnei2021-06-093-9/+8
| | | | | | | | | | | | | | | - Prevents a cloned session's handler from being overwritten by another disconnected session. - Fixes session handler nullptr asserts with Pokemon Sword & Shield.
* | | kernel: svc: Add missing error check to CancelSynchronization.Gravatar bunnei2021-06-091-2/+2
| | | | | | | | | | | | - Avoids a potential crash if the handle is invalid, and also makes this code accurate to real kernel behavior.
* | | Merge pull request #6436 from liushuyu/masterGravatar Mai M2021-06-091-8/+9
|\ \ \ | | | | | | | | src/common/CMakeLists.txt: fix variable escaping
| * | | src/common/CMakeLists.txt: fix variable escapingGravatar liushuyu2021-06-091-8/+9
| | | |
* | | | hle: service: Increase arbitrary max sessions limit.Gravatar bunnei2021-06-091-1/+1
| | | | | | | | | | | | - Pokemon Sword/Shield are still hitting this for some reason, causing an svcBreak.
* | | | Merge pull request #6413 from Kewlan/limitable_input_dialog_limitGravatar bunnei2021-06-093-5/+48
|\ \ \ \ | |/ / / |/| | | limitable_input_dialog: Implement character limiter
| * | | limitable_input_dialog: Implement character limiterGravatar Kewlan2021-06-063-5/+48
| | | | | | | | | | | | | | | | When using GetText() you can now choose what set of characters the user can't enter.
* | | | Merge pull request #6435 from lioncash/nodisc2Gravatar Morph2021-06-091-1/+1
|\ \ \ \ | | | | | | | | | | common/fs/path_util: Remove [[nodiscard]] from function with void return
| * | | | common/fs/path_util: Remove [[nodiscard]] from function with void returnGravatar Lioncash2021-06-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | We can't make use of the return value here, since we don't a return value to work with.
* | | | | Merge pull request #6434 from lioncash/tcontextGravatar bunnei2021-06-081-13/+27
|\ \ \ \ \ | | | | | | | | | | | | configure_ui: Add translation context for file-scope strings
| * | | | | configure_ui: Add translation context for file-scope stringsGravatar Lioncash2021-06-081-13/+27
| |/ / / / | | | | | | | | | | | | | | | Allows for these strings to show up in the translation files.
* | | | | Merge pull request #6428 from bunnei/service-thread-crash-fixGravatar bunnei2021-06-084-28/+56
|\ \ \ \ \ | |/ / / / |/| | | | hle: kernel: Remove service thread manager and use weak_ptr.
| * | | | hle: kernel: KServerSession: Work-around scenario where session is closed ↵Gravatar bunnei2021-06-081-7/+24
| | | | | | | | | | | | | | | | | | | | too early.
| * | | | hle: kernel: hle_ipc: Ensure SessionRequestHandler is valid.Gravatar bunnei2021-06-073-5/+26
| | | | |
| * | | | hle: kernel: Remove service thread manager and use weak_ptr.Gravatar bunnei2021-06-073-18/+8
| | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | | | | Merge pull request #6426 from lat9nq/context-menu-startGravatar Mai M2021-06-084-3/+23
|\ \ \ \ \ | | | | | | | | | | | | yuzu qt: Start games from context menu
| * | | | | yuzu qt: Start games from context menuGravatar lat9nq2021-06-074-3/+23
| |/ / / / | | | | | | | | | | | | | | | | | | | | This connects the BootGame function to the context menu. In addition, there is an option to boot without using the custom configuration.
* | | | | Merge pull request #6412 from clementgallet/yuzu-cmd-window-glGravatar bunnei2021-06-072-12/+6
|\ \ \ \ \ | |/ / / / |/| | | | yuzu-cmd: Fix OpenGL rendering
| * | | | Avoid -Wshadow warningGravatar Clément Gallet2021-06-051-1/+1
| | | | | | | | | | | | | | | Co-authored-by: Mai M. <mathew1800@gmail.com>
| * | | | yuzu-cmd: Fix OpenGL renderingGravatar Clément Gallet2021-06-042-12/+6
| | |_|/ | |/| |
* | | | Merge pull request #6410 from lat9nq/avoid-oobGravatar bunnei2021-06-071-0/+8
|\ \ \ \ | | | | | | | | | | decoders: Avoid out-of-bounds access
| * | | | decoders: Break instead of continueGravatar lat9nq2021-06-041-2/+2
| | | | | | | | | | | | | | | | | | | | continue causes a memory leak in A Hat in Time.
| * | | | decoders: Avoid out-of-bounds accessGravatar lat9nq2021-06-041-0/+8
| | | | | | | | | | | | | | | | | | | | This is not a real fix, so assert here and continue before crashing.
* | | | | Merge pull request #6414 from bunnei/fix-service-threadsGravatar bunnei2021-06-0621-87/+101
|\ \ \ \ \ | | | | | | | | | | | | hle: kernel: Refactor to allocate a ServiceThread per service handler.
| * | | | | hle: kernel: KServerSession: Use ASSERT_MSG where appropriate.Gravatar bunnei2021-06-061-1/+1
| | | | | |
| * | | | | hle: kernel: k_server_session: Return service thread by strong pointer.Gravatar bunnei2021-06-062-4/+4
| | | | | |
| * | | | | hle: kernel: k_server_session: Ensure service thread is valid before ↵Gravatar bunnei2021-06-061-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | dereference.
| * | | | | hle: kernel: hle_ipc: Use default destructor for SessionRequestManager.Gravatar bunnei2021-06-061-1/+1
| | | | | |
| * | | | | hle: kernel: KAutoObjectWithListContainer: Use boost::instrusive::rbtree.Gravatar bunnei2021-06-0611-22/+26
| | | | | | | | | | | | | | | | | | | | | | | | - Fixes some crashes introduced by our common intrusive red/black tree impl.
| * | | | | hle: kernel: Refactor to allocate a ServiceThread per service handler.Gravatar bunnei2021-06-0413-67/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | | | | | Merge pull request #6400 from ameerj/disable-uniform-simplifyGravatar bunnei2021-06-068-6/+29
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | buffer_cache: Simplify uniform disabling logic
| * | | | | buffer_cache: Simplify uniform disabling logicGravatar ameerj2021-06-018-6/+29
| | | | | |
* | | | | | result: Add [[nodiscard]] specifiers where applicableGravatar Lioncash2021-06-051-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | Merge pull request #6362 from lat9nq/reset-to-defaultsGravatar bunnei2021-06-046-3/+122
|\ \ \ \ \ \ | | | | | | | | | | | | | | yuzu qt: Add settings reset button to general configuration
| * | | | | | yuzu qt: Use lambda and std::function for reset callbackGravatar lat9nq2021-06-014-19/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also makes use of std::move, and performs a clang-format cleanup. This addresses review comments. Co-authored-by: LC <mathew1800@gmail.com>
| * | | | | | yuzu: Add settings reset button to general configurationGravatar lat9nq2021-06-018-23/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Builds on german77's work to reset all settings back to their defaults. This include UISettings and Settings values structs, but does not affect save profiles, input profiles, and game directories. This works from a button input in configure_general. When activated, it calls a callback to close the whole configure dialog, then GMainWindow deletes the old configuration, both on disk and in memory, and reinitalizes a new one. It also resets a portion of the UI and calls the telemetry window prompt.
| * | | | | | configuration: Initial work to reset all settingsGravatar fearlessTobi2021-06-016-0/+33
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit does not compile. Initial work to add and connect a Reset to Defaults button to the configure_general tab. Co-authored-by: german77 <juangerman-13@hotmail.com>
* | | | | | Merge pull request #6411 from clementgallet/yuzu-cmd-touch-buttonGravatar Mai M2021-06-042-1/+50
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | yuzu-cmd: Add touch_from_button in config file
| * | | | | yuzu-cmd: Add touch_from_button in config fileGravatar Clément Gallet2021-06-042-1/+50
| | |_|/ / | |/| | |
* | | | | Merge pull request #6392 from german77/controller-widgetGravatar bunnei2021-06-043-2/+25
|\ \ \ \ \ | |_|_|/ / |/| | | | settings: Disable controller preview if controller is not active
| * | | | settings: Disable controller preview if controller is not activeGravatar german772021-05-303-2/+25
| | | | |
* | | | | Merge pull request #6389 from german77/Analog_button_fixGravatar bunnei2021-06-033-73/+138
|\ \ \ \ \ | | | | | | | | | | | | input_common: Analog button, use time based position
| * | | | | input_common: Analog button, use time based position instead of frequent updatesGravatar german772021-05-303-73/+138
| |/ / / /
* | / / / [game_list] Correct light theme loading (#6408)Gravatar Maide2021-06-031-5/+1
| |/ / / |/| | | | | | | | | | | | | | | 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.
* | | | Merge pull request #6402 from Kelebek1/UIGravatar bunnei2021-06-032-34/+17
|\ \ \ \ | | | | | | | | | | game_list: Stop the columns resizing on NAND install