changeset 235:964ad0acc33f trunk

[svn] - that should have been a 1
author nenolod
date Tue, 07 Nov 2006 01:56:59 -0800
parents 88465b96e4b3
children c9d1426fc948
files ChangeLog src/modplug/archive/arch_raw.cxx
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Nov 07 01:55:13 2006 -0800
+++ b/ChangeLog	Tue Nov 07 01:56:59 2006 -0800
@@ -1,3 +1,13 @@
+2006-11-07 09:55:13 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [482]
+  - VFS support
+  
+  trunk/src/modplug/archive/Makefile     |    2 +-
+  trunk/src/modplug/archive/arch_raw.cxx |   24 +++++++-----------------
+  trunk/src/modplug/archive/arch_raw.h   |    6 +++++-
+  3 files changed, 13 insertions(+), 19 deletions(-)
+
+
 2006-11-07 08:35:18 +0000  William Pitcock <nenolod@nenolod.net>
   revision [480]
   - rewrite to take advantage of already existant object-oriented framework
--- a/src/modplug/archive/arch_raw.cxx	Tue Nov 07 01:55:13 2006 -0800
+++ b/src/modplug/archive/arch_raw.cxx	Tue Nov 07 01:56:59 2006 -0800
@@ -27,7 +27,7 @@
 	mSize = vfs_ftell(mFileDesc);
 
 	mMap = malloc(mSize);
-	vfs_fread(mMap, 0, mSize, mFileDesc);
+	vfs_fread(mMap, 1, mSize, mFileDesc);
 }
 
 arch_Raw::~arch_Raw()