common_paths.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // Copyright 2013 Dolphin Emulator Project / 2014 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. // Directory separators, do we need this?
  6. #define DIR_SEP "/"
  7. #define DIR_SEP_CHR '/'
  8. #ifndef MAX_PATH
  9. #define MAX_PATH 260
  10. #endif
  11. // The user data dir
  12. #define ROOT_DIR "."
  13. #define USERDATA_DIR "user"
  14. #ifdef USER_DIR
  15. #define EMU_DATA_DIR USER_DIR
  16. #else
  17. #define EMU_DATA_DIR "yuzu"
  18. #endif
  19. // Dirs in both User and Sys
  20. #define EUR_DIR "EUR"
  21. #define USA_DIR "USA"
  22. #define JAP_DIR "JAP"
  23. // Subdirs in the User dir returned by GetUserPath(D_USER_IDX)
  24. #define CONFIG_DIR "config"
  25. #define CACHE_DIR "cache"
  26. #define SDMC_DIR "sdmc"
  27. #define NAND_DIR "nand"
  28. #define SYSDATA_DIR "sysdata"
  29. #define LOG_DIR "log"
  30. // Filenames
  31. // Files in the directory returned by GetUserPath(D_CONFIG_IDX)
  32. #define EMU_CONFIG "emu.ini"
  33. #define DEBUGGER_CONFIG "debugger.ini"
  34. #define LOGGER_CONFIG "logger.ini"
  35. // Files in the directory returned by GetUserPath(D_LOGS_IDX)
  36. #define LOG_FILE "yuzu_log.txt"
  37. // Sys files
  38. #define SHARED_FONT "shared_font.bin"
  39. #define AES_KEYS "aes_keys.txt"