mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 10:00:16 +02:00
Merge pull request #5992 from Sonicadvance1/261
Windows: On unimplemented print a log
This commit is contained in:
2 files changed
+14
-4
No files matched your search
@@ -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);
|
||||
|
||||
@@ -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) \
|
||||
|
||||
Reference in new issue
Block a user