To do that, the game would have to break the following security barriers:
- Run as admin
- Bypass Anti-Virus without being detected.
- Gain access to Ring 0 for direct hardware IO
- Wipe the volatile BIOS storage
Conclusion: Your BIOS battery died and the settings got deleted. Most of the BIOS batteries are lithium, so they hold their voltage until they are truely dead/end of life.
Just buy a new coin cell, you can get in any store for $1-2.