aboutsummaryrefslogtreecommitdiff
path: root/saga/interface.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2004-11-15 03:03:48 +0000
committerEugene Sandulenko2004-11-15 03:03:48 +0000
commit4295a17c2323d025aad8ccd7084a8c3bdedfcaa6 (patch)
tree41382d001ca51502103e788f1beabc511661186f /saga/interface.cpp
parent183a11153e680a1b6cd399da09deff7a690304dc (diff)
downloadscummvm-rg350-4295a17c2323d025aad8ccd7084a8c3bdedfcaa6.tar.gz
scummvm-rg350-4295a17c2323d025aad8ccd7084a8c3bdedfcaa6.tar.bz2
scummvm-rg350-4295a17c2323d025aad8ccd7084a8c3bdedfcaa6.zip
o Make GAME_GetFileContext() more object-like
o Font::loadFont() now normally survives zero-length fonts as used in demos o Removed unused SndRes::ITEVOC_Resample() o Fixed playing of voice #4 on old DOS targets o Implemented playing voices in VOX (Oki ADPCM) format o Support of Win32 and Linux demos. There was old-style Win32 demo, which is not supported yet, same is with DOS demo. svn-id: r15814
Diffstat (limited to 'saga/interface.cpp')
-rw-r--r--saga/interface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/saga/interface.cpp b/saga/interface.cpp
index 5b3a59f24d..c104d6092a 100644
--- a/saga/interface.cpp
+++ b/saga/interface.cpp
@@ -177,8 +177,8 @@ Interface::Interface(SagaEngine *vm) : _vm(vm), _initialized(false) {
}
// Load interface module resource file context
- result = GAME_GetFileContext(&_interfaceContext, GAME_RESOURCEFILE, 0);
- if (result != SUCCESS) {
+ _interfaceContext = GAME_GetFileContext(GAME_RESOURCEFILE, 0);
+ if (_interfaceContext == NULL) {
return;
}