Remote ISO: Add working support for streaming CHD files over the network

This commit is contained in:
Henrik Rydgård committed 2023-12-29 13:34:22 +01:00
1 parent a5afba2b70
commit 7d114eb29b
4 files changed
+53 -28

No files matched your search

+1 -3
View File
@@ -125,9 +125,7 @@ static bool RegisterServer(int port) {
bool RemoteISOFileSupported(const std::string &filename) {
// Disc-like files.
// NOTE: chd is temporarily disabled until we can make it use the FileLoader instead of
// trying to re-open the file, since otherwise won't work over HTTP.
if (endsWithNoCase(filename, ".cso") || endsWithNoCase(filename, ".iso")) {
if (endsWithNoCase(filename, ".cso") || endsWithNoCase(filename, ".iso") || endsWithNoCase(filename, ".chd")) {
return true;
}
// May work - but won't have supporting files.