You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
smiRaphi
d99a8c65cc
[hle/kernel] Fix OutputDebugString formatting (#3744)
Fixes the debug outputs by buffering it, should not effect any normal game as the flush thread only get's created once the function has actually been called.
Turning it from:
```
[ 9.707449] Debug.Emulated <Info> core\hle\kernel\svc\svc_debug_string.cpp:17:OutputDebugString: SDK Assertion Failure: 'hipc::ResultSessionClosed::Includes(result)' in CloseClientSessionHandleSafely() at pid=81, tid=76(Main
[ 9.707642] Debug.Emulated <Info> core\hle\kernel\svc\svc_debug_string.cpp:17:OutputDebugString: Thread)
[ 9.707791] Debug.Emulated <Info> core\hle\kernel\svc\svc_debug_string.cpp:17:OutputDebugString: [SF-Internal]
[ 9.707827] Debug.Emulated <Info> core\hle\kernel\svc\svc_debug_string.cpp:17:OutputDebugString:
[ 9.708202] Debug.Emulated <Info> core\hle\kernel\svc\svc_debug_string.cpp:17:OutputDebugString: Stack trace:
[ 9.708880] Debug.Emulated <Info> core\hle\kernel\svc\svc_debug_string.cpp:17:OutputDebugString: 0x00000000866B5170 (unknown)
[ 9.708911] Debug.Emulated <Info> core\hle\kernel\svc\svc_debug_string.cpp:17:OutputDebugString: 0x00000000866B42BC (unknown)
[ 9.708916] Debug.Emulated <Info> core\hle\kernel\svc\svc_debug_string.cpp:17:OutputDebugString: 0x00000000866B4AEC (unknown)
[ 9.708919] Debug.Emulated <Info> core\hle\kernel\svc\svc_debug_string.cpp:17:OutputDebugString: 0x00000000866B2F20 (unknown)
[ 9.708922] Debug.Emulated <Info> core\hle\kernel\svc\svc_debug_string.cpp:17:OutputDebugString: 0x00000000866B19BC (unknown)
[ 9.708925] Debug.Emulated <Info> core\hle\kernel\svc\svc_debug_string.cpp:17:OutputDebugString: 0x0000000086875C64 (unknown)
[ 9.708927] Debug.Emulated <Info> core\hle\kernel\svc\svc_debug_string.cpp:17:OutputDebugString: 0x00000000868752E0 (unknown)
[ 9.708929] Debug.Emulated <Info> core\hle\kernel\svc\svc_debug_string.cpp:17:OutputDebugString: 0x0000000086874C1C (unknown)
[ 9.708932] Debug.Emulated <Info> core\hle\kernel\svc\svc_debug_string.cpp:17:OutputDebugString: 0x00000000866FBD1C (unknown)
[ 9.708944] Debug.Emulated <Info> core\hle\kernel\svc\svc_debug_string.cpp:17:OutputDebugString: 0x00000000866FBDCC (unknown)
[ 9.708967] Debug.Emulated <Info> core\hle\kernel\svc\svc_debug_string.cpp:17:OutputDebugString:
[ 9.709035] Debug.Emulated <Info> core\hle\kernel\svc\svc_debug_string.cpp:17:OutputDebugString: Related modules:
[ 9.709061] Debug.Emulated <Info> core\hle\kernel\svc\svc_debug_string.cpp:17:OutputDebugString: base size name/path
[ 9.709349] Debug.Emulated <Info> core\hle\kernel\svc\svc_debug_string.cpp:17:OutputDebugString: 0x000000008665D000 0x0000000000E50000 nnSdkEn
[ 9.709431] Debug.Emulated <Info> core\hle\kernel\svc\svc_debug_string.cpp:17:OutputDebugString:
```
Into:
```
[ 5.895512] Debug.Emulated <Info> core\hle\kernel\svc\svc_debug_string.cpp:47:FlushDbgLoop:
SDK Assertion Failure: 'hipc::ResultSessionClosed::Includes(result)' in CloseClientSessionHandleSafely() at pid=81, tid=76(MainThread)
[SF-Internal]
Stack trace:
0x00000000866B5170 (unknown)
0x00000000866B42BC (unknown)
0x00000000866B4AEC (unknown)
0x00000000866B2F20 (unknown)
0x00000000866B19BC (unknown)
0x0000000086875C64 (unknown)
0x00000000868752E0 (unknown)
0x0000000086874C1C (unknown)
0x00000000866FBD1C (unknown)
0x00000000866FBDCC (unknown)
Related modules:
base size name/path
0x000000008665D000 0x0000000000E50000 nnSdkEn
```
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3744
Reviewed-by: crueter <crueter@eden-emu.dev>
Co-authored-by: smiRaphi <neogt404@gmail.com>
Co-committed-by: smiRaphi <neogt404@gmail.com>
|
1 week ago |
| .. |
|
AddingBooleanToggles.md
|
[debug] added functions to enable access to debug knobs from kotlin side + docs (#3265)
|
3 months ago |
|
AddingDebugKnobs.md
|
[settings] changed debug knobs category to allow per-game usage (#3564)
|
2 months ago |
|
AlterDateTime.md
|
[docs] testing guidelines, unify controller guide, gamemode (#3709)
|
1 month ago |
|
Architectures.md
|
[compat] HaikuOS port (#2805)
|
6 months ago |
|
Audio.md
|
[docs] initial user handbook draft (#2629)
|
6 months ago |
|
Basics.md
|
[docs] testing guidelines, unify controller guide, gamemode (#3709)
|
1 month ago |
|
CFW.md
|
[docs] Obtanium, installing mods, external ES-DE config, section about CFW and settings (#3678)
|
1 month ago |
|
CommandLine.md
|
[frontend] allow to specify input profile name for first player on command line (#3684)
|
1 month ago |
|
Controllers.md
|
[docs] testing guidelines, unify controller guide, gamemode (#3709)
|
1 month ago |
|
Graphics.md
|
[docs] Obtanium, installing mods, external ES-DE config, section about CFW and settings (#3678)
|
1 month ago |
|
GyroControls.md
|
[docs] troubleshoot section, release policies, gpu documentation (#3078)
|
4 months ago |
|
HowToAccessLogs.md
|
[docs] Adding Initial Documentation (#3139)
|
4 months ago |
|
ImportingSaves.md
|
[docs] troubleshoot section, release policies, gpu documentation (#3078)
|
4 months ago |
|
InstallingAtmosphereMods.md
|
[docs] troubleshoot section, release policies, gpu documentation (#3078)
|
4 months ago |
|
InstallingUpdatesDLC.md
|
[docs] troubleshoot section, release policies, gpu documentation (#3078)
|
4 months ago |
|
Mods.md
|
[docs] Obtanium, installing mods, external ES-DE config, section about CFW and settings (#3678)
|
1 month ago |
|
Multiplayer.md
|
[docs] update multiplayer section with metaserver info (#3722)
|
2 weeks ago |
|
Native.md
|
[common] autogenerate unique console serial for every install (#3550)
|
2 months ago |
|
Orphaned.md
|
[qt] clean up some orphaned_profiles bugs; add help (#2894)
|
6 months ago |
|
QuickStart.md
|
[docs] troubleshoot section, release policies, gpu documentation (#3078)
|
4 months ago |
|
README.md
|
[docs] testing guidelines, unify controller guide, gamemode (#3709)
|
1 month ago |
|
RunOnMacOS.md
|
[docs] testing guidelines, unify controller guide, gamemode (#3709)
|
1 month ago |
|
ServerHosting.md
|
[docs/user] add server hosting section (#3093)
|
4 months ago |
|
Settings.md
|
[docs] testing guidelines, unify controller guide, gamemode (#3709)
|
1 month ago |
|
SteamROM.md
|
[docs] Obtanium, installing mods, external ES-DE config, section about CFW and settings (#3678)
|
1 month ago |
|
Storage.md
|
[core/filesystem] "easier" cheats folder structure like Ryujinx (#2795)
|
6 months ago |
|
SyncthingGuide.md
|
[docs] troubleshoot section, release policies, gpu documentation (#3078)
|
4 months ago |
|
Testing.md
|
[docs] testing guidelines, unify controller guide, gamemode (#3709)
|
1 month ago |
|
ThirdParty.md
|
[docs] testing guidelines, unify controller guide, gamemode (#3709)
|
1 month ago |
|
Troubleshoot.md
|
[docs] troubleshoot section, release policies, gpu documentation (#3078)
|
4 months ago |
|
UsingAmiibo.md
|
[docs] troubleshoot section, release policies, gpu documentation (#3078)
|
4 months ago |
|
UsingCheats.md
|
[docs] troubleshoot section, release policies, gpu documentation (#3078)
|
4 months ago |
User Handbook
The "FAQ".
This handbook is primarily aimed at the end-user - baking useful knowledge for enhancing their emulation experience.
A copy of this handbook is available online.
Basics
3rd-party Integration
Advanced