mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-28 23:41:03 +00:00
Some fixes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
#include <utils/object.hpp>
|
||||
|
||||
#if defined(__clang__) || defined(__GNUC__)
|
||||
#if (defined(__clang__) || defined(__GNUC__)) && !defined(__MINGW64__)
|
||||
#define FORMAT_ATTRIBUTE(fmt_pos, var_pos) __attribute__((format(printf, fmt_pos, var_pos)))
|
||||
#else
|
||||
#define FORMAT_ATTRIBUTE(fmt_pos, var_pos)
|
||||
|
||||
@@ -425,7 +425,7 @@ namespace syscalls
|
||||
|
||||
if (flags != 0)
|
||||
{
|
||||
c.win_emu.log.error("NtGetNextThread flags %X not supported\n", flags);
|
||||
c.win_emu.log.error("NtGetNextThread flags %X not supported\n", static_cast<uint32_t>(flags));
|
||||
c.emu.stop();
|
||||
return STATUS_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user