fixed some graphics config and added some debugging logs, TODO: add more debugging logs
This commit is contained in:
parent
5e6ee54473
commit
9367252ab9
2 changed files with 22 additions and 8 deletions
|
|
@ -120,11 +120,12 @@ void ARC_Config_SetGroup(ARC_Config *config, ARC_String *groupname){
|
|||
}
|
||||
|
||||
void ARC_Config_Get(ARC_Config *config, ARC_String *keyname, void **value){
|
||||
ARC_ConfigTypeTemplate *temp;
|
||||
ARC_ConfigTypeTemplate *temp = NULL;
|
||||
|
||||
uint64_t length = ARC_String_FindCString(keyname, "::", 2);
|
||||
if(arc_errno){
|
||||
//TODO: Debug info here
|
||||
ARC_DEBUG_ERR("in ARC_Config_Get(config, keyname, value); length threw error");
|
||||
*value = NULL;
|
||||
return;
|
||||
}
|
||||
|
|
@ -140,6 +141,7 @@ void ARC_Config_Get(ARC_Config *config, ARC_String *keyname, void **value){
|
|||
ARC_Hashtable *currgroup = config->currgroup;
|
||||
ARC_Config_SetGroup(config, group);
|
||||
if(arc_errno){
|
||||
ARC_DEBUG_ERR("in ARC_Config_Get(config, keyname, value); setting group threw error");
|
||||
ARC_String_Destroy(group);
|
||||
*value = NULL;
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue