MCPcopy Create free account
hub / github.com/dborth/fceugx / GetExt

Function GetExt

source/fileop.cpp:535–549  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

533}
534
535static char *GetExt(char *file)
536{
537 if(!file)
538 return NULL;
539
540 char *ext = strrchr(file,'.');
541 if(ext != NULL)
542 {
543 ext++;
544 int extlen = strlen(ext);
545 if(extlen > 5)
546 return NULL;
547 }
548 return ext;
549}
550
551void FindAndSelectLastLoadedFile ()
552{

Callers 1

ParseDirEntriesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected