diff --git a/Source/Windows/Common/Logging.cpp b/Source/Windows/Common/Logging.cpp index 8980bda8d..21fbdfd1f 100644 --- a/Source/Windows/Common/Logging.cpp +++ b/Source/Windows/Common/Logging.cpp @@ -32,6 +32,12 @@ static void AssertHandler(const char* Message) { } } // namespace + +namespace FEX::Windows::Logging { +void UnimplementedLog(const char* Func) { + LogMan::Msg::DFmt("Unimplemented Function in: {}", Func); +} +} // namespace FEX::Windows::Logging namespace FEX::Windows::Logging { void Init() { FEX_CONFIG_OPT(SilentLog, SILENTLOG); diff --git a/Source/Windows/Common/Priv.h b/Source/Windows/Common/Priv.h index ea702b400..10341beef 100644 --- a/Source/Windows/Common/Priv.h +++ b/Source/Windows/Common/Priv.h @@ -55,11 +55,15 @@ public: } }; +namespace FEX::Windows::Logging { +void UnimplementedLog(const char* Func); +} -#define UNIMPLEMENTED() \ - do { \ - NtTerminateProcess(NtCurrentProcess(), 0); \ - __fastfail(0); \ +#define UNIMPLEMENTED() \ + do { \ + FEX::Windows::Logging::UnimplementedLog(__func__); \ + NtTerminateProcess(NtCurrentProcess(), 0); \ + __fastfail(0); \ } while (0) #define DLLEXPORT_FUNC(Ret, Name, Args) \