| 63 | } |
| 64 | |
| 65 | File *ResourceLoader::open_stream(StringId64 type, StringId64 name) |
| 66 | { |
| 67 | TempAllocator256 ta; |
| 68 | DynamicString stream_dest(ta); |
| 69 | stream_destination_path(stream_dest, resource_id(type, name)); |
| 70 | return _data_filesystem.open(stream_dest.c_str(), FileOpenMode::READ); |
| 71 | } |
| 72 | |
| 73 | void ResourceLoader::close_stream(File *stream) |
| 74 | { |
no test coverage detected