pcem: fix file dialog crash
authored by panda2134 and committed by GitHub 3 years ago b0d02ef8 e341cd3b