aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/BSoundBuffer.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-06-26 02:07:12 +0200
committerEinar Johan Trøan Sømåen2012-06-26 02:07:12 +0200
commitcaa5ee1d89de77f535f285904eb7c576d0397572 (patch)
tree0516797089e676516cd7aa8a7ce770df275ea05a /engines/wintermute/Base/BSoundBuffer.cpp
parent95983fa2eabd2c5f507f095d89efb6bbda0d3701 (diff)
downloadscummvm-rg350-caa5ee1d89de77f535f285904eb7c576d0397572.tar.gz
scummvm-rg350-caa5ee1d89de77f535f285904eb7c576d0397572.tar.bz2
scummvm-rg350-caa5ee1d89de77f535f285904eb7c576d0397572.zip
WINTERMUTE: Rename FuncName->funcName in BFileManager
Diffstat (limited to 'engines/wintermute/Base/BSoundBuffer.cpp')
-rw-r--r--engines/wintermute/Base/BSoundBuffer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/wintermute/Base/BSoundBuffer.cpp b/engines/wintermute/Base/BSoundBuffer.cpp
index b24bdcfb19..a60b78ee33 100644
--- a/engines/wintermute/Base/BSoundBuffer.cpp
+++ b/engines/wintermute/Base/BSoundBuffer.cpp
@@ -77,7 +77,7 @@ CBSoundBuffer::~CBSoundBuffer() {
}
if (_file) {
- Game->_fileManager->CloseFile(_file);
+ Game->_fileManager->closeFile(_file);
_file = NULL;
}
@@ -104,9 +104,9 @@ HRESULT CBSoundBuffer::loadFromFile(const char *Filename, bool ForceReload) {
delete _stream;
_stream = NULL;
- if (_file) Game->_fileManager->CloseFile(_file);
+ if (_file) Game->_fileManager->closeFile(_file);
- _file = Game->_fileManager->OpenFile(Filename);
+ _file = Game->_fileManager->openFile(Filename);
if (!_file) {
Game->LOG(0, "Error opening sound file '%s'", Filename);
return E_FAIL;
@@ -146,7 +146,7 @@ HRESULT CBSoundBuffer::loadFromFile(const char *Filename, bool ForceReload) {
bool NewlyCreated = false;
if(!_soundBuffer || ForceReload || _streamed){
- if(!_file) _file = Game->_fileManager->OpenFile(Filename);
+ if(!_file) _file = Game->_fileManager->openFile(Filename);
if(!_file){
Game->LOG(0, "Error opening sound file '%s'", Filename);
return E_FAIL;
@@ -176,7 +176,7 @@ HRESULT CBSoundBuffer::loadFromFile(const char *Filename, bool ForceReload) {
// close file (if not streaming)
if(!_streamed && _file){
- Game->_fileManager->CloseFile(_file);
+ Game->_fileManager->closeFile(_file);
_file = NULL;
}
*/