This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
# Create display override file to force Mac OS X to use RGB mode for Display | |
# see http://embdev.net/topic/284710 | |
require 'base64' | |
def replacebytes (edid, pos, thebytes, newlen) | |
bytepos = pos * 2 | |
thelen = thebytes.length | |
if newlen.to_s. != '' |