char *str;
Log_Log("Config", "Kernel Invocation (%p) \"%s\"", ArgString, ArgString);
char *str;
Log_Log("Config", "Kernel Invocation (%p) \"%s\"", ArgString, ArgString);
// Open Script
fp = VFS_Open(gsConfigScript, VFS_OPENFLAG_READ);
if(fp == -1) {
Log_Warning("Config", "Passed script '%s' does not exist", gsConfigScript);
// Open Script
fp = VFS_Open(gsConfigScript, VFS_OPENFLAG_READ);
if(fp == -1) {
Log_Warning("Config", "Passed script '%s' does not exist", gsConfigScript);
VFS_Seek(fp, 0, SEEK_SET);
// Read into memory buffer
fData = malloc(fLen+1);
VFS_Seek(fp, 0, SEEK_SET);
// Read into memory buffer
fData = malloc(fLen+1);
- Log_Debug("Config", "Arg #%i is '%s'", j, line->Parts[j]);
+ LOG("Arg #%i is '%s'", j, line->Parts[j]);
- Log_Debug("Config", "Replaced arg %i ('%s') with 0x%x", j, line->Parts[j], val);
+ LOG("Replaced arg %i ('%s') with 0x%x", j, line->Parts[j], val);
line->Parts[j] = malloc( BITS/8+2+1 );
sprintf(line->Parts[j], "0x%x", val);
bReplaced[j] = 1;
line->Parts[j] = malloc( BITS/8+2+1 );
sprintf(line->Parts[j], "0x%x", val);
bReplaced[j] = 1;