Files
ci-libretro-fceumm/src/general.h
negativeExponent 3f756dc7fc Cleanup FCEU_MakeFName
- silence warnings: replace strncpy with strcpy instead. this should be safe since buffer is strlen+1 which should be enough for a null terminator (from sprintf)
- minor cleanup
2020-01-27 21:40:51 +08:00

18 lines
277 B
C

#ifndef _FCEU_GENERAL_H
#define _FCEU_GENERAL_H
void GetFileBase(const char *f);
extern uint32 uppow2(uint32 n);
char *FCEU_MakeFName(int type, int id1, char *cd1);
enum FILE_TYPES
{
FCEUMKF_FDSROM = 1,
FCEUMKF_PALETTE,
FCEUMKF_GGROM,
FCEUMKF_FDS
};
#endif