mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-02-03 13:06:33 +00:00
ResourcePack: Fix loading resource packs
This is something I missed when updating minizip, this mistake made it so resource packs didn't find any textures
This commit is contained in:
parent
6711d77b99
commit
d87e8ab7ff
@ -97,10 +97,9 @@ ResourcePack::ResourcePack(const std::string& path) : m_path(path)
|
||||
|
||||
do
|
||||
{
|
||||
std::string filename(256, '\0');
|
||||
|
||||
mz_zip_file* texture_info;
|
||||
mz_zip_reader_entry_get_info(zip_reader, &texture_info);
|
||||
std::string filename(texture_info->filename);
|
||||
|
||||
if (!filename.starts_with("textures/") || texture_info->uncompressed_size == 0)
|
||||
continue;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user