mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Allow showing version only for Qt
This commit is contained in:
parent
3f4bfddafc
commit
9db485b98d
1 changed files with 7 additions and 0 deletions
|
@ -491,6 +491,13 @@ Q_DECL_EXPORT
|
|||
#endif
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
for (int i = 1; i < argc; i++) {
|
||||
if (!strcmp(argv[i], "--version")) {
|
||||
printf("%s\n", PPSSPP_GIT_VERSION);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
glslang::InitializeProcess();
|
||||
#if defined(Q_OS_LINUX)
|
||||
QApplication::setAttribute(Qt::AA_X11InitThreads, true);
|
||||
|
|
Loading…
Add table
Reference in a new issue