aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/scicore/exe_raw.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2009-02-19 02:04:31 +0000
committerMatthew Hoops2009-02-19 02:04:31 +0000
commitee16e35bb6c86323d69937992e34ac214e2005c2 (patch)
tree8e5790092d3c87a1d30098d57885ff12d5a82e01 /engines/sci/scicore/exe_raw.cpp
parent5778350053e96859844f5998a06056e890da40c1 (diff)
downloadscummvm-rg350-ee16e35bb6c86323d69937992e34ac214e2005c2.tar.gz
scummvm-rg350-ee16e35bb6c86323d69937992e34ac214e2005c2.tar.bz2
scummvm-rg350-ee16e35bb6c86323d69937992e34ac214e2005c2.zip
- Fix finding versions from exe's
- Fix fallback detection - Make getVersion() return an int instead of a uint16 which makes the version lose precision and the "major" version can get lost. svn-id: r38529
Diffstat (limited to 'engines/sci/scicore/exe_raw.cpp')
-rw-r--r--engines/sci/scicore/exe_raw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/scicore/exe_raw.cpp b/engines/sci/scicore/exe_raw.cpp
index 17d46f524f..69daaca45f 100644
--- a/engines/sci/scicore/exe_raw.cpp
+++ b/engines/sci/scicore/exe_raw.cpp
@@ -33,7 +33,7 @@ struct _exe_handle {
static exe_handle_t *
raw_open(const char *filename) {
- FILE *f = sci_fopen(filename, "rb");
+ FILE *f = fopen(filename, "rb");
exe_handle_t *handle;
if (!f)