rem: if( ! RemapMemory( pd ) )
add: if( flags & PUHF_PATCH_ROM )
context: InstallPUH( ULONG           flags,            struct PUHData* pd ){  pd->m_Flags = flags;  pd->m_UserException =       AddContextHook( MADTAG_CONTEXT, (ULONG) pd->m_UserContext,                      MADTAG_TYPE,    MMUEH_SEGFAULT,                      MADTAG_CODE,    (ULONG) PUHHandler,                      MADTAG_DATA,    (ULONG) pd,                      MADTAG_PRI,     127,                      TAG_DONE );  if( pd->m_UserException == NULL )  {    printf( "Unable to install user context hook.\n" );  }  else  {    pd->m_SuperException =        AddContextHook( MADTAG_CONTEXT, (ULONG) pd->m_SuperContext,                        MADTAG_TYPE,    MMUEH_SEGFAULT,                        MADTAG_CODE,    (ULONG) PUHHandler,                        MADTAG_DATA,    (ULONG) pd,                        MADTAG_PRI,     127,                        TAG_DONE );    if( pd->m_SuperException == NULL )    {      printf( "Unable to install supervisor context hook.\n" );    }    else    {      ActivateException( pd->m_UserException );      ActivateException( pd->m_SuperException );      // Re-map       if( ! RemapMemory( pd ) )      {        printf( "Unable to install remap.\n" );      }      else      {        pd->m_Active = TRUE;      }    }  }  return pd->m_Active;}