From fe4ad4458efe084e538ee5c02298c93d3bf26554 Mon Sep 17 00:00:00 2001 From: namedkitten Date: Fri, 8 May 2020 21:31:51 +0100 Subject: [PATCH] Fix pinephone check. --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 67d1042..f5a90fb 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -93,7 +93,7 @@ int main(int argc, char* argv[]) // this is only to make it so KittehPlayer works first try on pinephone. // TODO: launch a opengl window or use offscreen to see if GL_ARB_framebuffer_object // can be found - if (!(settings.value("Backend/disableSunxiCheck", false).toBool() || ranFirstTimeSetup || pinephone)) { + if (!(settings.value("Backend/disableSunxiCheck", false).toBool() || ranFirstTimeSetup) || pinephone ) { FILE* fd = popen("grep sun[x8]i /proc/modules", "r"); char buf[16]; if (fread(buf, 1, sizeof(buf), fd) > 0 || pinephone) {