343 |
|
void PatchNameRegistry(void) |
344 |
|
{ |
345 |
|
// Find RegistryCStrEntryCreate() and RegistryPropertyCreate() TVECTs |
346 |
< |
rcec_tvect = (uint32)FindLibSymbol("\017NameRegistryLib", "\027RegistryCStrEntryCreate"); |
346 |
> |
rcec_tvect = FindLibSymbol("\017NameRegistryLib", "\027RegistryCStrEntryCreate"); |
347 |
|
D(bug("RegistryCStrEntryCreate TVECT at %08x\n", rcec_tvect)); |
348 |
< |
rpc_tvect = (uint32)FindLibSymbol("\017NameRegistryLib", "\026RegistryPropertyCreate"); |
348 |
> |
rpc_tvect = FindLibSymbol("\017NameRegistryLib", "\026RegistryPropertyCreate"); |
349 |
|
D(bug("RegistryPropertyCreate TVECT at %08x\n", rpc_tvect)); |
350 |
|
if (rcec_tvect == 0 || rpc_tvect == 0) { |
351 |
|
ErrorAlert(GetString(STR_NO_NAME_REGISTRY_ERR)); |