Windows: On unimplemented print a log

Makes it easier to find which one was missing. Can't use regular log
routines in the header due to conflicting win32 defines.
This commit is contained in:
Ryan Houdek committed 2026-09-25 14:44:11 -07:00
1 parent 72b2ff88ae
commit dd63548cb1
2 files changed
+14 -4

No files matched your search

+6
View File
@@ -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);
+8 -4
View File
@@ -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) \