mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 17:49:29 +01:00
Allow showing version only for SDL
This commit is contained in:
1 parent
97546d30ff
commit
3f4bfddafc
1 file changed
+7
@@ -448,6 +448,13 @@ static void EmuThreadJoin() {
|
||||
#undef main
|
||||
#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 PPSSPP_PLATFORM(RPI)
|
||||
|
||||
Reference in new issue
Block a user