This could be replacing the batteries in there, do you see batteries wherever they are supposed to be located in this game? If you are supposed to be seeing batteries somewhere, but don't, then chances are this capacitor has replaced them. If there still are batteries then it's possible that it's there to filter one of your lines a little bit. Definitely a hack.
If it were me, I'd first think about looking at the schematic to see where it's hooked up and what its function might be. Then I'd be too lazy and I'd just yank the thing out and see what happens