Add some options to FileMenu

!Warning, there is no confirmation yet on deletions
This commit is contained in:
SuchMemeManySkill committed 2020-12-25 22:19:04 +01:00
1 parent 9588ffb89a
commit 9c47d11843
4 files changed
+42 -5

No files matched your search

+9
View File
@@ -20,4 +20,13 @@ void MaskIn(char *mod, u32 bitstream, char mask){
bitstream >>= 1;
mod++;
}
}
// non-zero is yes, zero is no
bool StrEndsWith(char *begin, char *end){
begin = strrchr(begin, *end);
if (begin != NULL)
return !strcmp(begin, end);
return 0;
}
+2 -1
View File
@@ -2,4 +2,5 @@
#include <utils/types.h>
char *CpyStr(const char* in);
void MaskIn(char *mod, u32 bitstream, char mask);
void MaskIn(char *mod, u32 bitstream, char mask);
bool StrEndsWith(char *begin, char *end);