Starter project for SDL2.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678
  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. }