Maufeat
28ab4a1a01
[kernel, service] Return ResultSessionClosed when a session is closed ( #4318 )
- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions ).
- [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md )
- [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md ) to the best of my ability.
-------------------
I tried to run a homebrew game which tried to reply to a closed service. nnSdk expected ResultSessionClosed, we replied with ResultSuccess which mostly works but some have stricter handling and would terminate with abort.
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4318
Reviewed-by: Lizzie and Samuel <lizzie@eden-emu.dev>
Reviewed-by: crueter <crueter@eden-emu.dev>
1 week ago
lizzie
3aa0d46259
[video_core, hle] remove redundant parent references in system structs ( #3908 )
reworked a bit to remove references of parent objects and instead pass as arguments to methods to prevent useless reloads
Signed-off-by: lizzie <lizzie@eden-emu.dev>
Co-authored-by: maufeat <sahyno1996@gmail.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3908
Reviewed-by: Maufeat <sahyno1996@gmail.com>
Reviewed-by: crueter <crueter@eden-emu.dev>
3 months ago
Liam
7af4637f3d
general: fix asan errors
3 years ago
FearlessTobi
4d55e58ee4
scope_exit: Make constexpr
Allows the use of the macro in constexpr-contexts.
Also avoids some potential problems when nesting braces inside it.
3 years ago
Liam
b3d763f81e
server_manager: use multi wait API
3 years ago
Liam
d9d6ebebc0
server_manager: respond to session close correctly
3 years ago
Liam
1fdcd70bad
general: properly support multiple memory instances
3 years ago
Liam
5244690809
k_server_session: process for guest servers
3 years ago
Liam
cb8b331981
service: use interface factory in server manager
3 years ago
Liam
5f2c56cd15
core: remove ResultVal type
3 years ago
Liam
db40a2f430
general: remove atomic signal and wait
3 years ago
Liam
7afcc29ac8
kernel: match calls to Register and Unregister
3 years ago
Liam
3c93638acf
kernel: convert KPort, KSession
4 years ago
Liam
ea36f70e02
hle: rename legacy errors to Results
4 years ago
Liam
d7e9461b71
service: move hle_ipc from kernel
4 years ago
Liam
893a54f2bd
sm:: support service registration deferral
4 years ago
Liam
1c3a93e7c4
service: refactor server architecture
Converts services to have their own processes
4 years ago