hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.4k stars 2.19k forks source link

Add a "reason" argument to sleep_ms() #19642

Closed hrydgard closed 15 hours ago

hrydgard commented 16 hours ago

sleep_ms() should generally be avoided when possible. This can be used to try to track down unnecessary sleeps by adding some logging.

This commit on its own doesn't actually add any logging.