Support Overlays #2

Merged
jaby merged 48 commits from Overlay-The-Beginning_CDDrive into main 2023-04-22 09:38:32 +00:00
1 changed files with 3 additions and 2 deletions
Showing only changes of commit 5770d4f77e - Show all commits

View File

@ -70,9 +70,10 @@ namespace JabyEngine {
memcpy(this->dst_adr, data, bytes_copy);
this->state.literal_length -= bytes_copy;
bytes_ready += bytes_copy;
if(this->state.literal_length == 0) {
this->state.step = State::Step::ObtainMatchOffset;
bytes_ready += bytes_copy;
this->state.step = State::Step::ObtainMatchOffset;
}
} break;