I don't know if maybe the retropie images are thought to be played on 16:9 monitors?
RetroPie can use all sorts of resolutions, it's not a problem here. It was probably - badly - configured to use an incorrect aspect ratio, ask your friend's friend. We can't help you here, since we don't know what and how it's configured.