lock framebuffer stuff to prevent conflicts when reiniting the core or changing the renderer

This commit is contained in:
Arisotura
2024-10-31 22:51:18 +01:00
parent 9c8f229fed
commit e3e561da3f
4 changed files with 8 additions and 0 deletions

View File

@ -150,6 +150,8 @@ public:
void touchScreen(int x, int y);
void releaseScreen();
QMutex renderLock;
private:
static int lastSep(const std::string& path);
std::string getAssetPath(bool gba, const std::string& configpath, const std::string& ext, const std::string& file);