@@ -64,7 +64,6 @@ SDL_AppResult SDL_AppInit(void **Host, int argc, char *argv[]) {
6464			cxxopts::value<bool >()->default_value (" false"  ));
6565
6666	options.add_options (" General"  )
67- 		(" debug"  ,   " Print application SDL debuf info."  )
6867		(" version"  , " Print application version info."  )
6968		(" help"  ,    " List application options."  );
7069
@@ -73,25 +72,6 @@ SDL_AppResult SDL_AppInit(void **Host, int argc, char *argv[]) {
7372
7473	auto  result{ options.parse (argc, argv) };
7574
76- 	if  (result.count (" debug"  )) {
77- 		Console::Attach ();
78- 		fmt::println (" SDL3 dev version tested: 23/03/25 (dd/mm/yy)"  );
79- 
80- 		const  auto  compiled{ SDL_VERSION }; /*  hardcoded number from SDL headers */ 
81- 		const  auto  linked{ SDL_GetVersion () }; /*  reported by linked SDL library */ 
82- 
83- 		fmt::println (" Compiled with SDL version: {}.{}.{}"  ,
84- 			SDL_VERSIONNUM_MAJOR (compiled),
85- 			SDL_VERSIONNUM_MINOR (compiled),
86- 			SDL_VERSIONNUM_MICRO (compiled));
87- 		fmt::println (" Linked with SDL version: {}.{}.{}"  ,
88- 			SDL_VERSIONNUM_MAJOR (linked),
89- 			SDL_VERSIONNUM_MINOR (linked),
90- 			SDL_VERSIONNUM_MICRO (linked));
91- 
92- 		return  SDL_APP_SUCCESS;
93- 	}
94- 
9575	if  (result.count (" version"  )) {
9676		Console::Attach ();
9777		fmt::println (" {} compiled on: {} ({})"  ,
@@ -110,7 +90,7 @@ SDL_AppResult SDL_AppInit(void **Host, int argc, char *argv[]) {
11090	if  (!FrontendHost::initApplication (
11191		result.count (" homedir"  )  ? result[" homedir"  ].as <Str>() : " "  s,
11292		result.count (" config"  )   ? result[" config"  ] .as <Str>() : " "  s,
113- 		result.count (" portable"  ) ? true  : false ,  " " , AppName 
93+ 		result.count (" portable"  ) ? true  : false 
11494	)) { return  SDL_APP_FAILURE; }
11595
11696	*Host = FrontendHost::initialize (result.count (" program"  ) ? result[" program"  ].as <Str>() : " "  s);
@@ -123,7 +103,7 @@ SDL_AppResult SDL_AppInit(void **Host, int argc, char *argv[]) {
123103/* ==================================================================*/ 
124104
125105SDL_AppResult SDL_AppIterate (void  *pHost) {
126- 	auto  Host{ static_cast <FrontendHost*>(pHost) };
106+ 	auto *  Host{ static_cast <FrontendHost*>(pHost) };
127107
128108	Host->processFrame ();
129109
@@ -133,7 +113,7 @@ SDL_AppResult SDL_AppIterate(void *pHost) {
133113/* ==================================================================*/ 
134114
135115SDL_AppResult SDL_AppEvent (void  *pHost, SDL_Event *event) {
136- 	auto  Host{ static_cast <FrontendHost*>(pHost) };
116+ 	auto *  Host{ static_cast <FrontendHost*>(pHost) };
137117
138118	return  static_cast <SDL_AppResult>(Host->processEvents (event));
139119}
@@ -142,7 +122,7 @@ SDL_AppResult SDL_AppEvent(void *pHost, SDL_Event *event) {
142122
143123void  SDL_AppQuit (void  *pHost, SDL_AppResult) {
144124	if  (pHost) {
145- 		auto  Host{ static_cast <FrontendHost*>(pHost) };
125+ 		auto *  Host{ static_cast <FrontendHost*>(pHost) };
146126		Host->quitApplication ();
147127	}
148128}
0 commit comments