mirror of
https://github.com/azahar-emu/azahar.git
synced 2025-03-03 17:25:21 +01:00
Removed some remaining .3ds extension references
This commit is contained in:
parent
8149302187
commit
1ef1ab05fa
1
dist/citra.xml
vendored
1
dist/citra.xml
vendored
@ -16,7 +16,6 @@
|
||||
<expanded-acronym>CTR Cart Image</expanded-acronym>
|
||||
<icon name="citra"/>
|
||||
<glob pattern="*.cci"/>
|
||||
<glob pattern="*.3ds"/>
|
||||
<magic><match value="NCSD" type="string" offset="256"/></magic>
|
||||
</mime-type>
|
||||
|
||||
|
@ -63,7 +63,7 @@ class Game(
|
||||
val allExtensions: Set<String> get() = extensions + badExtensions
|
||||
|
||||
val extensions: Set<String> = HashSet(
|
||||
listOf("3ds", "3dsx", "elf", "axf", "cci", "cxi", "app")
|
||||
listOf("3dsx", "elf", "axf", "cci", "cxi", "app")
|
||||
)
|
||||
|
||||
val badExtensions: Set<String> = HashSet(
|
||||
|
@ -3404,8 +3404,8 @@ static bool IsSingleFileDropEvent(const QMimeData* mime) {
|
||||
return mime->hasUrls() && mime->urls().length() == 1;
|
||||
}
|
||||
|
||||
static const std::array<std::string, 8> AcceptedExtensions = {"cci", "3ds", "cxi", "bin",
|
||||
"3dsx", "app", "elf", "axf"};
|
||||
static const std::array<std::string, 8> AcceptedExtensions = {"cci", "cxi", "bin", "3dsx",
|
||||
"app", "elf", "axf"};
|
||||
|
||||
static bool IsCorrectFileExtension(const QMimeData* mime) {
|
||||
const QString& filename = mime->urls().at(0).toLocalFile();
|
||||
|
@ -48,7 +48,7 @@ FileType GuessFromExtension(const std::string& extension_) {
|
||||
if (extension == ".elf" || extension == ".axf")
|
||||
return FileType::ELF;
|
||||
|
||||
if (extension == ".cci" || extension == ".3ds")
|
||||
if (extension == ".cci")
|
||||
return FileType::CCI;
|
||||
|
||||
if (extension == ".cxi" || extension == ".app")
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "common/string_util.h"
|
||||
|
||||
TEST_CASE("SplitFilename83 Sanity", "[common]") {
|
||||
std::string filename = "long_ass_file_name.3ds";
|
||||
std::string filename = "long_ass_file_name.cci";
|
||||
std::array<char, 9> short_name;
|
||||
std::array<char, 4> extension;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user