| 177 | } |
| 178 | |
| 179 | uint64_t FileAccessPatchedGDRE::get_buffer(uint8_t *p_dst, uint64_t p_length) const { |
| 180 | if (!_try_apply_patch()) { |
| 181 | return 0; |
| 182 | } |
| 183 | |
| 184 | return patched_file->get_buffer(p_dst, p_length); |
| 185 | } |
| 186 | |
| 187 | void FileAccessPatchedGDRE::flush() { |
| 188 | if (!_try_apply_patch()) { |