Skip to content
This repository was archived by the owner on Apr 25, 2022. It is now read-only.

Conversation

@NotKyon
Copy link

@NotKyon NotKyon commented Jun 15, 2018

This pull request adds support for the Umineko steam releases. (nscripter/nsa; compression type 4 (Nbz)) It also fixes issue #152 as well.

return combine64( s.total_out_lo32, s.total_out_hi32 );
}
inline uint64_t total_in( const bz_stream &s ) {
return combine64( s.total_in_lo32, s.total_in_hi32 );
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mixed tabs and spaces

{
/* http://bzip.org/1.0.5/bzip2-manual-1.0.5.html#bzcompress-init */

const std::array<int,4> levels { 9, 6, 1, 0 };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More whitespace issues

const bstr &input,
const CompressionLevel = CompressionLevel::Best);


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double blank line

include_directories(${ZLIB_INCLUDE_DIR})
link_directories(${ZLIB_LIBRARY_DIRS})

find_package(BZip2 REQUIRED)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you make this into optional dependency?

@rr-
Copy link
Member

rr- commented Jul 6, 2018

Also the commit messages should be adjusted

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants