Core: Use an enum for indicating CPU cores
Merge pull request #1169 from lioncash/cpu-core

Core: Use an enum for indicating CPU cores