Add ROM patching function for driver install (not used yet)