|
|
@@ -77,14 +77,12 @@ int main(int argc, char* argv[]) { |
|
|
|
case 'h': { |
|
|
|
settings::headless = true; |
|
|
|
} break; |
|
|
|
#if !defined ARCH_MAC |
|
|
|
// Due to Mac app translocation and Apple adding a -psn... flag when launched, disable screenshots on Mac for now. |
|
|
|
case 'p': { |
|
|
|
case 't': { |
|
|
|
screenshot = true; |
|
|
|
// If parsing number failed, use default value |
|
|
|
sscanf(optarg, "%f", &screenshotZoom); |
|
|
|
std::sscanf(optarg, "%f", &screenshotZoom); |
|
|
|
} break; |
|
|
|
#endif |
|
|
|
case 's': { |
|
|
|
asset::systemDir = optarg; |
|
|
|
} break; |
|
|
|