X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FOpenGL_Windows.cpp;h=3a508adf06f02f099e76279e19f3f0705f32587b;hb=9b02e6c2c1987b983584afc69e60ae2efa5dccc7;hp=f8f180c6aa38b3c7a8f7ce889355f12250869b69;hpb=980959d6da4f0cd440372c0efd25b89f8a034cb6;p=lugaru.git diff --git a/Source/OpenGL_Windows.cpp b/Source/OpenGL_Windows.cpp index f8f180c..3a508ad 100644 --- a/Source/OpenGL_Windows.cpp +++ b/Source/OpenGL_Windows.cpp @@ -568,7 +568,7 @@ Boolean SetUp (Game & game) randSeed = UpTime().lo; osx = 0; - ifstream ipstream(ConvertFileName(":Data:config.txt"), std::ios::in /*| std::ios::nocreate*/); + ifstream ipstream(ConvertFileName("/Data/config.txt"), std::ios::in /*| std::ios::nocreate*/); detail=1; ismotionblur=0; usermousesensitivity=1; @@ -618,7 +618,7 @@ Boolean SetUp (Game & game) selectDetail(kContextWidth, kContextHeight, kBitsPerPixel, detail); if(!ipstream) { - ofstream opstream(ConvertFileName(":Data:config.txt", "w")); + ofstream opstream(ConvertFileName("/Data/config.txt", "w")); opstream << "Screenwidth:\n"; opstream << kContextWidth; opstream << "\nScreenheight:\n";