Starter project for SDL2.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
290 B

  1. #include "IZ_config.h"
  2. void IZ_GetConfigPath(char* config_path) {
  3. //const char* config_path_dir = SDL_GetPrefPath("Modal Studios", APP_NAME);
  4. const char* config_path_dir = SDL_GetBasePath();
  5. memcpy_s(config_path, 128, config_path_dir, 128);
  6. strcat_s(config_path, 128, "config.ini");
  7. }