Returns - the contents of the rom file.
Returns:
the contents of the rom file
39 40 41 42 43 44 45 46 47
# File 'lib/compute_unit/gpus/amd_gpu.rb', line 39 def read_rom_data if File.exist?(debug_rom_path) IO.read(debug_rom_path, mode: 'rb') elsif File.exist?(rom_path) rom_data else '' end end