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:
11
core/kexcoresdk.cpp
Executable file → Normal file
11
core/kexcoresdk.cpp
Executable file → Normal 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;
|
||||
|
Reference in New Issue
Block a user