1
0
mirror of https://github.com/UzixLS/KernelEx.git synced 2025-07-19 07:21:20 +03:00

import KernelEx-4.0-Final

This commit is contained in:
UzixLS
2018-11-03 16:20:02 +03:00
parent 339353cce8
commit 30df122aba
339 changed files with 11011 additions and 1945 deletions

11
core/kexcoresdk.cpp Executable file → Normal file
View File

@ -33,6 +33,15 @@ unsigned long kexGetKEXVersion()
return VERSION_CODE;
}
int kexIsDebugCore()
{
#ifdef _DEBUG
return 1;
#else
return 0;
#endif
}
void kexDebugPrint(const char* format, ...)
{
#ifdef _DEBUG
@ -68,7 +77,7 @@ void kexGetModuleSettings(const char* module,
{
appsetting as = SettingsDB::instance.get_appsetting(module);
if (!as.conf)
strcpy(conf_name, "default");
conf_name[0] = '\0';
else
strncpy(conf_name, as.conf->get_name(), 256);
*ldr_flags = as.flags;