Glad you figured it out, unfortunately I didn't have the time to test it myself. PCem seems to have been abandoned, which is a pity, but there are forks of it that are still active, such as 86Box.
I actually wrote a guide on PCem back in the day. You can read it here.