Files
scummvm/common
Scott Percival aa32a51c47 DIRECTOR: More fixes for partial filename matching
For Macintosh, it is possible to have filenames with a "/" in them.
Dumper Companion will punyencode this and any other non-ASCII characters
when extracting from a Macintosh filesystem. As such, when checking
components of a filename, we should attempt to match against the punydecoded
name, but always return the "real" name (i.e. the name of the file in
the local filesystem, possibly punyencoded).

In addition, it is possible for a movie A/B/C.DIR to go to a movie
"E/F.DIR", where the actual path is A/E/F.DIR. To make the partial matching
work, first we try removing each component from the start of the target
path, then retry all combinations again after removing a component from
the end of the source directory, etc.

Fixes several movie switches in The Seven Colors.
2023-07-08 22:01:00 +03:00
..
2023-05-14 20:32:38 +02:00
2022-10-27 15:56:04 +02:00
2022-09-18 20:43:33 +02:00
2022-05-28 12:32:29 +02:00
2023-05-29 23:50:15 +02:00
2022-12-25 16:31:57 +01:00
2022-12-25 16:31:57 +01:00
2023-03-05 14:57:08 +01:00
2022-05-28 12:32:29 +02:00
2023-02-28 02:29:51 +01:00
2023-02-28 02:29:51 +01:00
2022-09-18 20:37:36 +02:00
2023-01-14 14:42:18 +01:00