Add ValidateCompressionResult, reorganize process.

This commit is contained in:
Justin Scofield
2022-08-03 19:31:17 +00:00
parent 1cd2ba106b
commit 3cd02e97af
2 changed files with 105 additions and 95 deletions

View File

@@ -67,7 +67,7 @@ struct OWMapTiles {
class ROM {
public:
absl::StatusOr<Bytes> Compress(const int start, const int length,
int mode = 1);
int mode = 1, bool check = false);
absl::StatusOr<Bytes> CompressGraphics(const int pos, const int length);
absl::StatusOr<Bytes> CompressOverworld(const int pos, const int length);