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>
2 weeks ago
..
CPMUtil
[vk, cmake] Bump minimum VulkanTools to 1.4.317 and add UnifiedImageLayouts (#3318)
3 months ago
build
[docs] add instructions to build older commits (#3826)
2 weeks ago
dynarmic
[dynarmic] remove dead-code interpreter (#3547)
2 months ago
img
[dist] shrink png asset size with optipng, scripts to generate assets (#2573)
7 months ago
policies
[docs] Bring back the Options page, and clean up LLM policy (#3649)
2 months ago
user
[docs] update multiplayer section with metaserver info (#3722)
3 weeks ago
Build.md
[docs] reorg a bit, add AI policy, rewrite release policy (#3423)
3 months ago
CODEOWNERS
[meta] update codeowners (#3460)
3 months ago
Caveats.md
[ports] build fixes for *BSD make (#3496)
1 month ago
CrossCompile.md
[docs] update coding guidelines, freebsd+windows ARM caveats (#3209)
4 months ago
Debug.md
[docs] Add Gentoo and Arch Linux packages to GDB instructions (#3521)
2 months ago
Deps.md
[docs] update multiplayer section with metaserver info (#3722)
3 weeks ago
Development.md
[port, cmake] fix NetBSD/OpenBSD 7.8 build failure, update documentation (#3272)
3 months ago
DriverBugs.md
[docs] initial document driver bugs (#3382)
3 months ago
NvidiaGpu.md
[docs] troubleshoot section, release policies, gpu documentation (#3078)
4 months ago
Options.md
[video_core] Properly disable/avoid building OpenGL when it's disabled (#3692)
1 month ago
README.md
[docs] add instructions to build older commits (#3826)
2 weeks ago
SIGNUP.md
[docs] SIGNUP: Add spam/junk notice, email patch info, and clarify some things (#3648)
2 months ago
Eden Build Documentation
Are you just a casual user? Take a look at our User Handbook then!
This contains documentation created by developers. This contains build instructions, guidelines, instructions/layouts for cool stuff we made , and more.
Policies
Policies and information on development.