Add some options to FileMenu
!Warning, there is no confirmation yet on deletions
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user