OSDN Git Service

Fix getFileHandle for Internal files in RoboVM
authorJustin Shapcott <support@mobidevelop.com>
Wed, 11 Sep 2013 21:43:10 +0000 (14:43 -0700)
committerJustin Shapcott <support@mobidevelop.com>
Wed, 11 Sep 2013 21:43:10 +0000 (14:43 -0700)
backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/IOSFiles.java

index 79846a2..e517b92 100644 (file)
@@ -23,6 +23,7 @@ public class IOSFiles implements Files {
        
        @Override
        public FileHandle getFileHandle (String fileName, FileType type) {
+               if (type == FileType.Internal) return internal(fileName);
                return new IOSFileHandle(fileName, type);
        }