2D Run-and-gun shooter inspired by One Man's Doomsday, Counter-Strike, and Metal Slug.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
381 B

  1. #include "IZ_app_config.h"
  2. void IZ_ConfigGetDefaultPath(const char* config_path, size_t string_size) {
  3. #ifdef IZ_DEBUG
  4. const char* config_path_dir = SDL_GetBasePath();
  5. #else
  6. const char* config_path_dir = SDL_GetPrefPath("Modal Studios", IZ_APP_NAME);
  7. #endif
  8. memcpy_s(config_path, string_size, config_path_dir, 128);
  9. strcat_s(config_path, string_size, "config-server.ini");
  10. }