Starter project for SDL2.
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

9 satır
326 B

  1. #include "IZ_config.h"
  2. void IZ_GetConfigPath(char* config_path, size_t string_size) {
  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, string_size, config_path_dir, 128);
  6. strcat_s(config_path, string_size, "config.ini");
  7. }