mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
Fix naming issue
This commit is contained in:
parent
0e439325db
commit
bc7980ae72
@ -15,7 +15,7 @@ class MxDSFile : public MxDSSource {
|
||||
MxDSFile(const char* p_filename, MxULong p_skipReadingChunks);
|
||||
|
||||
enum {
|
||||
OPEN_READ = 0,
|
||||
e_openRead = 0,
|
||||
};
|
||||
|
||||
#ifdef ISLE_APP
|
||||
|
||||
@ -92,11 +92,11 @@ MxResult MxDiskStreamProvider::SetResourceToGet(MxStreamController* p_resource)
|
||||
|
||||
m_pFile = new MxDSFile(path.GetData(), 0);
|
||||
if (m_pFile != NULL) {
|
||||
if (m_pFile->Open(MxDSFile::OPEN_READ) != 0) {
|
||||
if (m_pFile->Open(MxDSFile::e_openRead) != 0) {
|
||||
path = MxString(MxOmni::GetCD()) + p_resource->GetAtom().GetInternal() + ".si";
|
||||
m_pFile->SetFileName(path.GetData());
|
||||
|
||||
if (m_pFile->Open(MxDSFile::OPEN_READ) != 0) {
|
||||
if (m_pFile->Open(MxDSFile::e_openRead) != 0) {
|
||||
goto done;
|
||||
}
|
||||
}
|
||||
|
||||
@ -69,11 +69,11 @@ MxResult MxRAMStreamProvider::SetResourceToGet(MxStreamController* p_resource)
|
||||
|
||||
m_pFile = new MxDSFile(path.GetData(), 0);
|
||||
if (m_pFile != NULL) {
|
||||
if (m_pFile->Open(MxDSFile::OPEN_READ) != 0) {
|
||||
if (m_pFile->Open(MxDSFile::e_openRead) != 0) {
|
||||
path = MxString(MxOmni::GetCD()) + p_resource->GetAtom().GetInternal() + ".si";
|
||||
m_pFile->SetFileName(path.GetData());
|
||||
|
||||
if (m_pFile->Open(MxDSFile::OPEN_READ) != 0) {
|
||||
if (m_pFile->Open(MxDSFile::e_openRead) != 0) {
|
||||
goto done;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user