| 1 | #cxx . . $ `<file>/mednafen/general.h`/ifndef _GENERAL_H |
| 2 | #define _GENERAL_Hcxx . . $ `mednafen/general.h:2:9`! |
| 3 | |
| 4 | #include <string> |
| 5 | |
| 6 | extern uint32cxx . . $ uint32# MDFN_RoundUpPow2cxx . . $ MDFN_RoundUpPow2(2141b656ce2cc063).(uint32cxx . . $ uint32#); |
| 7 | |
| 8 | void GetFileBasecxx . . $ GetFileBase(85c52e162fed56f9).(const char *f); |
| 9 | |
| 10 | // File-inclusion for-read-only path, for PSF and CUE/TOC sheet usage. |
| 11 | bool MDFN_IsFIROPSafecxx . . $ MDFN_IsFIROPSafe(7c222eea44a24d43).(const stdcxx . . $ std/::stringcxx . . $ std/string# &path); |
| 12 | |
| 13 | stdcxx . . $ std/::stringcxx . . $ std/string# MDFN_MakeFNamecxx . . $ MDFN_MakeFName(133ed53369c873e4).(int type, int id1, const char *cd1); |
| 14 | |
| 15 | void MDFN_ltrimcxx . . $ MDFN_ltrim(80d0450aec2fd74).(stdcxx . . $ std/::stringcxx . . $ std/string# &string); |
| 16 | void MDFN_rtrimcxx . . $ MDFN_rtrim(80d0450aec2fd74).(stdcxx . . $ std/::stringcxx . . $ std/string# &string); |
| 17 | void MDFN_trimcxx . . $ MDFN_trim(80d0450aec2fd74).(stdcxx . . $ std/::stringcxx . . $ std/string# &string); |
| 18 | |
| 19 | typedef enumcxx . . $ $anonymous_type_37baaceafa7150f3_0# |
| 20 | { |
| 21 | MDFNMKF_STATEcxx . . $ MDFNMKF_STATE. = 0, |
| 22 | MDFNMKF_SNAPcxx . . $ MDFNMKF_SNAP., |
| 23 | MDFNMKF_SAVcxx . . $ MDFNMKF_SAV., |
| 24 | MDFNMKF_CHEATcxx . . $ MDFNMKF_CHEAT., |
| 25 | MDFNMKF_PALETTEcxx . . $ MDFNMKF_PALETTE., |
| 26 | MDFNMKF_IPScxx . . $ MDFNMKF_IPS., |
| 27 | MDFNMKF_MOVIEcxx . . $ MDFNMKF_MOVIE., |
| 28 | MDFNMKF_AUXcxx . . $ MDFNMKF_AUX., |
| 29 | MDFNMKF_SNAP_DATcxx . . $ MDFNMKF_SNAP_DAT., |
| 30 | MDFNMKF_CHEAT_TMPcxx . . $ MDFNMKF_CHEAT_TMP., |
| 31 | MDFNMKF_FIRMWAREcxx . . $ MDFNMKF_FIRMWARE. |
| 32 | } MakeFName_Typecxx . . $ MakeFName_Type#; |
| 33 | |
| 34 | stdcxx . . $ std/::stringcxx . . $ std/string# MDFN_MakeFNamecxx . . $ MDFN_MakeFName(cb505ca63a9252bc).(MakeFName_Typecxx . . $ MakeFName_Type# type, int id1, const char *cd1); |
| 35 | |
| 36 | const char * GetFNComponentcxx . . $ GetFNComponent(fb58d2e09a2a1ce6).(const char *str); |
| 37 | |
| 38 | void MDFN_GetFilePathComponentscxx . . $ MDFN_GetFilePathComponents(f608b903cc9a02a6).(const stdcxx . . $ std/::stringcxx . . $ std/string# &file_path, stdcxx . . $ std/::stringcxx . . $ std/string# *dir_path_out, stdcxx . . $ std/::stringcxx . . $ std/string# *file_base_out = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!, stdcxx . . $ std/::stringcxx . . $ std/string# *file_ext_out = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!); |
| 39 | stdcxx . . $ std/::stringcxx . . $ std/string# MDFN_EvalFIPcxx . . $ MDFN_EvalFIP(2007729dd81cc85).(const stdcxx . . $ std/::stringcxx . . $ std/string# &dir_path, const stdcxx . . $ std/::stringcxx . . $ std/string# &rel_path, bool skip_safety_check = false); |
| 40 | #endif |