mirror of
https://github.com/Lorenzooone/cc3dsfs.git
synced 2026-08-12 03:45:50 -05:00
Convert to SFML3
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
#include "utils.hpp"
|
||||
|
||||
#if defined (__linux__) && defined(XLIB_BASED)
|
||||
#include <X11/Xlib.h>
|
||||
#endif
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
@@ -61,6 +64,12 @@ uint16_t to_be(uint16_t value) {
|
||||
return value;
|
||||
}
|
||||
|
||||
void init_threads(void) {
|
||||
#if defined(__linux__) && defined(XLIB_BASED)
|
||||
XInitThreads();
|
||||
#endif
|
||||
}
|
||||
|
||||
std::string get_version_string(bool get_letter) {
|
||||
std::string version_str = std::to_string(APP_VERSION_MAJOR) + "." + std::to_string(APP_VERSION_MINOR) + "." + std::to_string(APP_VERSION_REVISION);
|
||||
if(get_letter)
|
||||
|
||||
Reference in New Issue
Block a user