Fixes after GLideN64 rebase
Some checks failed
GLideN64 / Linux (GLideN64 (x64 Mupen64Plus-CLI)) (push) Has been cancelled
GLideN64 / Linux (GLideN64 (x64 Mupen64Plus-Qt)) (push) Has been cancelled
GLideN64 / Windows (GLideN64 (x64 Mupen64Plus-CLI)) (push) Has been cancelled
GLideN64 / Windows (GLideN64 (x64 Mupen64Plus-Qt)) (push) Has been cancelled
GLideN64 / Windows (GLideN64 (x64 Project64-Qt)) (push) Has been cancelled
GLideN64 / Windows (GLideN64 (x64 Project64-WTL)) (push) Has been cancelled
GLideN64 / Windows (GLideN64 (x86 Mupen64Plus-CLI)) (push) Has been cancelled
GLideN64 / Windows (GLideN64 (x86 Project64-Qt)) (push) Has been cancelled
GLideN64 / Windows (GLideN64 (x86 Project64-WTL)) (push) Has been cancelled
GLideN64 / Release (push) Has been cancelled

Note: Removal of NoiseTex
This commit is contained in:
M4xw 2024-10-15 14:33:02 +02:00
parent ff0793c9c4
commit 50604252bf

View File

@ -116,7 +116,9 @@ void LogDebug(const char* _fileName, int _line, u16 _type, const char* _format,
}
#else // mupen64plus
#include <mupen64plus-next_common.h>
#include "mupenplus/GLideN64_mupenplus.h"
extern retro_log_printf_t log_cb;
void LogDebug(const char* _fileName, int _line, u16 _type, const char* _format, ...)
{
@ -129,12 +131,6 @@ void LogDebug(const char* _fileName, int _line, u16 _type, const char* _format,
M64MSG_VERBOSE
};
if (CoreDebugCallback == nullptr ||
_type > LOG_LEVEL)
{
return;
}
// initialize use of the variable argument array
va_list vaArgs;
va_start(vaArgs, _format);
@ -159,7 +155,8 @@ void LogDebug(const char* _fileName, int _line, u16 _type, const char* _format,
std::stringstream formatString;
formatString << _fileName << ":" << _line << ", \"" << zc.data() << "\"";
CoreDebugCallback(CoreDebugCallbackContext, logLevel[_type], formatString.str().c_str());
//CoreDebugCallback(CoreDebugCallbackContext, logLevel[_type], formatString.str().c_str());
log_cb(RETRO_LOG_INFO, formatString.str().c_str());
}
#endif