• R/O
  • SSH
  • HTTPS

eirfs: Commit


Commit MetaInfo

Revision42 (tree)
Time2018-02-09 10:14:50
Authorquiret

Log Message

- fix for function that was accidentally commented out if non-LZO build

Change Summary

Incremental Difference

--- src/fsinternal/CFileSystem.img.translator.compress.cpp (revision 41)
+++ src/fsinternal/CFileSystem.img.translator.compress.cpp (revision 42)
@@ -118,11 +118,21 @@
118118 return isCompressed;
119119 }
120120
121+#endif //FILESYS_ENABLE_LZO
122+
121123 bool CFileSystem::IsStreamLZOCompressed( CFile *input ) const
122124 {
125+ using namespace FileSystem;
126+
127+#ifdef FILESYS_ENABLE_LZO
123128 return isStreamLZOCompressed( input );
129+#else
130+ throw filesystem_exception( eGenExceptCode::RESOURCE_UNAVAILABLE );
131+#endif //FILESYS_ENABLE_LZO
124132 }
125133
134+#ifdef FILESYS_ENABLE_LZO
135+
126136 bool xboxIMGCompression::IsStreamCompressed( CFile *input ) const
127137 {
128138 return isStreamLZOCompressed( input );
@@ -546,4 +556,4 @@
546556
547557 delete lzoCmpr;
548558 #endif //FILESYS_ENABLE_LZO
549-}
\ No newline at end of file
559+}
Show on old repository browser