# File lib/native_file_types/c64/C64GeosPhotoAlbum.rb, line 24 def files if @files.nil? then @files=[] titles= record_nos.each do |r| next if r==0 next if version.to_i>1 && r==record_nos.last #version 2 albums have titles title_offset=1+(17*(r-1)) title="" if (version.to_i>1) then 17.times do |i| b=@contents[record_nos.last][title_offset+i] break if b==0 || b.nil? title<<b.chr end end title=("scrap %02x" % r) if title.length<1 @files<<C64PhotoScrap.new(self,"#{filename}/#{title}",@contents[r]) end end @files end