diff options
Diffstat (limited to 'src/include')
| -rwxr-xr-x | src/include/debug.h | 6 | ||||
| -rwxr-xr-x | src/include/fileutils.h | 3 | ||||
| -rw-r--r-- | src/include/rcfile.h | 8 |
3 files changed, 17 insertions, 0 deletions
diff --git a/src/include/debug.h b/src/include/debug.h index b441416d..5a6aec91 100755 --- a/src/include/debug.h +++ b/src/include/debug.h @@ -35,6 +35,9 @@ extern int trace_emm; // include EMM reg in trace? extern int trace_regsdiff; // colorize standard registers on changes extern uintptr_t trace_start, trace_end; extern char* trace_func; +extern char* trace_init; +extern char* box64_trace; +extern uint64_t start_cnt; #endif extern int box64_dummy_crashhandler; extern int allow_missing_libs; @@ -50,6 +53,9 @@ extern int box64_novulkan; // disabling the use of wrapped vulkan extern int box64_showsegv; // show sigv, even if a signal handler is present extern int box64_showbt; // show a backtrace if a signal is caught extern int box64_isglibc234; // is the program linked with glibc 2.34+ +extern int box64_x11threads; +extern int box64_x11glx; +extern char* box64_libGL; extern uintptr_t fmod_smc_start, fmod_smc_end; // to handle libfmod (from Unreal) SMC (self modifying code) extern uint32_t default_gs; extern int jit_gdb; // launch gdb when a segfault is trapped diff --git a/src/include/fileutils.h b/src/include/fileutils.h index ff69e6da..c666f0be 100755 --- a/src/include/fileutils.h +++ b/src/include/fileutils.h @@ -21,6 +21,9 @@ int FileIsShell(const char* filename); // return temp folder (will return /tmp if nothing is correct) const char* GetTmpDir(); +// will lower case the string and return a copy. Nothing fancy here, just A..Z transformed to a..z, rest is untouched +char* LowerCase(const char* s); + #if defined(RPI) || defined(RK3399) || defined(RK3326) void sanitize_mojosetup_gtk_background(); #endif diff --git a/src/include/rcfile.h b/src/include/rcfile.h new file mode 100644 index 00000000..c194e9ae --- /dev/null +++ b/src/include/rcfile.h @@ -0,0 +1,8 @@ +#ifndef __RCFILE_H__ +#define __RCFILE_H__ + +void LoadRCFile(const char* filename); +void DeleteParams(); +void ApplyParams(const char* name); + +#endif //__RCFILE_H__ \ No newline at end of file |