mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 20:51:14 +00:00
PLUGINS: Make detection plugin filename check case insensitive
Plugin filenames are all upper case on Dreamcast due to the ISO 9660 filesystem. It doesn't seem likely that making the check case insensitive would cause any problems even on a file system that is case sensitive.
This commit is contained in:
parent
4845b6daa2
commit
d2fba8fc2f
@ -369,7 +369,7 @@ void PluginManagerUncached::init() {
|
||||
#ifndef DETECTION_STATIC
|
||||
if (!foundDetectPlugin && (*pp)->isFilePluginProvider()) {
|
||||
Common::String pName = (*p)->getFileName();
|
||||
if (pName.hasSuffix(detectPluginName)) {
|
||||
if (pName.hasSuffixIgnoreCase(detectPluginName)) {
|
||||
_detectionPlugin = (*p);
|
||||
foundDetectPlugin = true;
|
||||
debug(9, "Detection plugin found!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user