mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-21 23:18:58 +02:00
[cmake] add a YUZU_STATIC_ROOM option (#3411)
Lets you build ONLY the necessary targets to get a statically linked room executable. Only intended to be used on musl targets due to getaddrinfo et al. Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3411 Reviewed-by: MaranBr <maranbr@eden-emu.dev>
This commit is contained in:
parent
3b81d2e333
commit
84839dec38
5 changed files with 151 additions and 102 deletions
|
|
@ -25,6 +25,8 @@ namespace Common::Log {
|
|||
|
||||
// Some IDEs prefer <file>:<line> instead, so let's just do that :)
|
||||
std::string FormatLogMessage(const Entry& entry) {
|
||||
if (!entry.filename) return "";
|
||||
|
||||
auto const time_seconds = uint32_t(entry.timestamp.count() / 1000000);
|
||||
auto const time_fractional = uint32_t(entry.timestamp.count() % 1000000);
|
||||
char const* class_name = GetLogClassName(entry.log_class);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue