Dynamic Domains, Dynamic Solutions: DPCore for Continual Test-Time Adaptation