i'll have to rethink the branches and jumps
This commit is contained in:
@@ -38,8 +38,7 @@ void KaizenGui::FileDialog() {
|
||||
NFD::Guard guard;
|
||||
NFD::UniquePath path;
|
||||
static const std::vector<nfdfilteritem_t> filterItems = {
|
||||
{"Nintendo 64 rom archive", "rar,RAR,tar,TAR,zip,ZIP,7z,7Z"},
|
||||
{"Nintendo 64 rom", "n64,z64,v64,N64,Z64,V64"}
|
||||
{"Nintendo 64 rom or rom archive", "rar,RAR,tar,TAR,zip,ZIP,7z,7Z,n64,z64,v64,N64,Z64,V64"}
|
||||
};
|
||||
|
||||
auto result = NFD::OpenDialog(path, filterItems.data(), filterItems.size());
|
||||
|
||||
Reference in New Issue
Block a user