Name some threads

This commit is contained in:
Megamouse 2024-01-27 20:33:54 +01:00
parent c3c73c7e24
commit cdfe3ee7c8
6 changed files with 25 additions and 7 deletions

View file

@ -822,6 +822,8 @@ void gs_frame::take_screenshot(std::vector<u8> data, u32 sshot_width, u32 sshot_
std::thread(
[sshot_width, sshot_height, is_bgra](std::vector<u8> sshot_data)
{
thread_base::set_name("Screenshot");
screenshot_log.notice("Taking screenshot (%dx%d)", sshot_width, sshot_height);
const std::string& id = Emu.GetTitleID();