This app makes ScummVM run in a fullscreen potato-friendly resolution you specify (e.g. 1920x1080), and returns to your previous resolution when ScummVM is closed. Much easier than manually changing screen resolution back and forth.
It'll take the target application and screen resolution as command arguments, so it could be used for anything really, not just ScummVM.
Posted here for anyone else who might find it useful: https://github.com/AndyHazz/SetRes/releases
Disclaimer, ChatGPT wrote this for me, I can't code C++

It took a few attempts but the end result appears to work well, and the code appears to be fairly simple for anyone who might want to check it out.