Use LZ4 file info

This commit is contained in:
2023-04-13 22:10:34 +02:00
parent 30561183fd
commit e21d7c5d50
2 changed files with 32 additions and 28 deletions

View File

@@ -7,7 +7,6 @@ namespace JabyEngine {
enum struct CDFileType : uint8_t {
SimpleTIM = 0,
CopyTo,
Overlay,
};
struct __no_align CDFile {
@@ -35,7 +34,7 @@ namespace JabyEngine {
}
static constexpr CDFile overlay(uint8_t rel_lba_idx, uint32_t* overlay_dst) {
return CDFile{.rel_lba_idx = rel_lba_idx, .type = CDFileType::Overlay, .payload = {.overlay = Overlay{overlay_dst}}};
return CDFile{.rel_lba_idx = rel_lba_idx, .type = CDFileType::CopyTo, .payload = {.overlay = Overlay{overlay_dst}}};
}
};
}