summaryrefslogtreecommitdiff
path: root/misc/ciso/ciso.h.patch
diff options
context:
space:
mode:
authorTarantino Antonino <metrofox9@gmail.com>2010-07-02 08:55:32 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-07-02 08:55:32 -0500
commit47babbda64837999cbaf954474aea1d2eae2951d (patch)
treee0319c31e3e9cd42db006bc5c22a4388bc69a871 /misc/ciso/ciso.h.patch
parent6be074f057e74ed0104361a2e4d0cdc3eda28e59 (diff)
downloadslackbuilds-47babbda64837999cbaf954474aea1d2eae2951d.tar.gz
misc/ciso: Added (compress PSP iso to cso format)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'misc/ciso/ciso.h.patch')
-rw-r--r--misc/ciso/ciso.h.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/misc/ciso/ciso.h.patch b/misc/ciso/ciso.h.patch
new file mode 100644
index 0000000000..ff8fc16dd1
--- /dev/null
+++ b/misc/ciso/ciso.h.patch
@@ -0,0 +1,14 @@
+--- ciso.h~ 2006-11-03 21:53:02.000000000 +0100
++++ ciso.h 2010-06-27 13:54:03.148928062 +0200
+@@ -28,9 +28,9 @@
+ typedef struct ciso_header
+ {
+ unsigned char magic[4]; /* +00 : 'C','I','S','O' */
+- unsigned long header_size; /* +04 : header size (==0x18) */
++ uint32_t header_size; /* +04 : header size (==0x18) */
+ unsigned long long total_bytes; /* +08 : number of original data size */
+- unsigned long block_size; /* +10 : number of compressed block size */
++ uint32_t block_size; /* +10 : number of compressed block size */
+ unsigned char ver; /* +14 : version 01 */
+ unsigned char align; /* +15 : align of index value */
+ unsigned char rsv_06[2]; /* +16 : reserved */