I've set some core specific values. for testing. Example using the snes9x core, i'm using setting the env_vars values to disable same layers from rendering.
emu.env_vars[b'snes9x_layer_1'] = b'disable'
First, trying to disable some noticeable features on the core, although it's not working.