File tree 1 file changed +3
-2
lines changed 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ namespace iosu
284
284
else if (starts_with (ptr, " Content-Type: " ))
285
285
{
286
286
const char * type = &ptr[14 ];
287
- if (starts_with (type, " application/xml" ))
287
+ if (starts_with (type, " application/xml" ) || starts_with (type, " text/xml " ) )
288
288
task->content_type = ContentType::kXmlContent ;
289
289
else if (starts_with (type, " x-application/octet-stream" ))
290
290
task->content_type = ContentType::kBinaryFile ;
@@ -685,7 +685,8 @@ namespace iosu
685
685
}
686
686
687
687
auto currentEntry = boss_storage_fad_find_entry (fad_content, file.data_id );
688
- if (currentEntry)
688
+ // TODO deep dive into IOSU to figure out how caching actually works on th Wii U
689
+ if (currentEntry && fs::exists (path / fmt::format (L" {:08x}" , file.data_id )))
689
690
{
690
691
uint64 timestamp = (uint64)currentEntry->timestampRelated + kTimeStampConvertSeconds ;
691
692
curl_easy_setopt (curl, CURLOPT_TIMEVALUE, timestamp);
You can’t perform that action at this time.
0 commit comments