#ifndef _GENERAL_H #define _GENERAL_H #include void GetFileBase(const char *f); // File-inclusion for-read-only path, for PSF and CUE/TOC sheet usage. bool MDFN_IsFIROPSafe(const std::string &path); std::string MDFN_MakeFName(int type, int id1, const char *cd1); typedef enum { MDFNMKF_STATE = 0, MDFNMKF_SNAP, MDFNMKF_SAV, MDFNMKF_CHEAT, MDFNMKF_PALETTE, MDFNMKF_IPS, MDFNMKF_MOVIE, MDFNMKF_AUX, MDFNMKF_SNAP_DAT, MDFNMKF_CHEAT_TMP, MDFNMKF_FIRMWARE } MakeFName_Type; std::string MDFN_MakeFName(MakeFName_Type type, int id1, const char *cd1); const char * GetFNComponent(const char *str); #endif