From 4ab9ee2f86e0f240d5e7915888dd8db3cdca836b Mon Sep 17 00:00:00 2001 From: ashbb Date: Tue, 23 Mar 2010 22:48:58 +0900 Subject: [PATCH] Simplify read & write Shy headers as little endian. This is i5m's awesome hack. --- lib/shoes/shy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shoes/shy.rb b/lib/shoes/shy.rb index c1335dc0..96f6de3d 100644 --- a/lib/shoes/shy.rb +++ b/lib/shoes/shy.rb @@ -12,7 +12,7 @@ class Shy VERSION = 0x0001 MAGIC = "_shy".freeze - LAYOUT = "A4SL".freeze + LAYOUT = "A4vV".freeze #Force to Little Endian for all platforms yaml_as 'tag:hackety.org,2007:shy' attr_accessor :name, :creator, :version, :launch