summaryrefslogtreecommitdiff
path: root/~emulatorman/mednafen-wip
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2012-05-04 20:00:41 +0000
committerParabola <dev@list.parabolagnulinux.org>2012-05-04 20:00:41 +0000
commitb2c353d874b85e06f355a9419852e2616613c7d0 (patch)
treef0773e0a930d308198ef5036d4f74e7f53015e6e /~emulatorman/mednafen-wip
parent0a24fb835cac4007388213ad0afb15257b035b14 (diff)
Fri May 4 20:00:31 UTC 2012
Diffstat (limited to '~emulatorman/mednafen-wip')
-rw-r--r--~emulatorman/mednafen-wip/build.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/~emulatorman/mednafen-wip/build.patch b/~emulatorman/mednafen-wip/build.patch
deleted file mode 100644
index 7985a19ed..000000000
--- a/~emulatorman/mednafen-wip/build.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff --git a/src/file.cpp b/src/file.cpp
-index 57f4e13..ec1181c 100644
---- a/src/file.cpp
-+++ b/src/file.cpp
-@@ -293,7 +293,7 @@ bool MDFNFILE::MakeMemWrapAndClose(void *tz, int type)
- goto doret;
- }
-
-- while((howmany = gzread(tz, f_data + cur_size, cur_alloced - cur_size)) > 0)
-+ while((howmany = gzread((gzFile)tz, f_data + cur_size, cur_alloced - cur_size)) > 0)
- {
- cur_size += howmany;
- cur_alloced <<= 1;
-@@ -320,7 +320,7 @@ bool MDFNFILE::MakeMemWrapAndClose(void *tz, int type)
- {
- int gzerrnum = 0;
- const char *gzerrstring;
-- if((gzerrstring = gzerror(tz, &gzerrnum)) && gzerrnum != Z_OK && gzerrnum != Z_STREAM_END)
-+ if((gzerrstring = gzerror((gzFile)tz, &gzerrnum)) && gzerrnum != Z_OK && gzerrnum != Z_STREAM_END)
- {
- if(gzerrnum != Z_ERRNO)
- {
-@@ -365,7 +365,7 @@ bool MDFNFILE::MakeMemWrapAndClose(void *tz, int type)
- }
- else if(type == MDFN_FILETYPE_GZIP)
- {
-- gzclose(tz);
-+ gzclose((gzFile)tz);
- }
- else if(type == MDFN_FILETYPE_ZIP)
- {