Make UI_CVAR_CREATE use VM specific code

Makes cvar be flagged as VM created and unset ROM if ARCHIVE is set.
This commit is contained in:
Jeremy Davis 2013-01-17 15:21:29 -06:00 committed by Zack Middleton
parent 4432a80a3c
commit 3f489fe5f2

View file

@ -750,7 +750,7 @@ intptr_t CL_UISystemCalls( intptr_t *args ) {
return 0;
case UI_CVAR_CREATE:
Cvar_Get( VMA(1), VMA(2), args[3] );
Cvar_Register( NULL, VMA(1), VMA(2), args[3] );
return 0;
case UI_CVAR_INFOSTRINGBUFFER: