In the context of emulation, a "patch" is a piece of code that modifies the game’s execution in real-time. Unlike ROM hacks, which permanently alter a game file, Xenia patches are generally applied dynamically via a configuration file (usually patches.toml ) or the emulator’s patch manager.