CMake improvements, photoFormat improvement
This commit is contained in:
parent
464e5bf6dd
commit
9af28f0aa6
5 changed files with 72 additions and 10 deletions
|
@ -125,7 +125,7 @@ bool RagePhoto::load(const char *data, size_t length)
|
|||
p_headerSum = charToUInt32LE(uInt32Buffer);
|
||||
#endif
|
||||
|
||||
if (format == static_cast<uint32_t>(PhotoFormat::RDR2))
|
||||
if (p_photoFormat == PhotoFormat::RDR2)
|
||||
pos = pos + 8;
|
||||
uint32_t headerSize = pos;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
libdir=${prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
|
||||
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
|
||||
|
||||
Name: libragephoto
|
||||
Description: Open Source RAGE Photo Parser for GTA V
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue