default_ini.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. // Copyright 2014 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. namespace DefaultINI {
  6. const char* sdl2_config_file = R"(
  7. [Controls]
  8. pad_start =
  9. pad_select =
  10. pad_home =
  11. pad_dup =
  12. pad_ddown =
  13. pad_dleft =
  14. pad_dright =
  15. pad_a =
  16. pad_b =
  17. pad_x =
  18. pad_y =
  19. pad_l =
  20. pad_r =
  21. pad_zl =
  22. pad_zr =
  23. pad_cup =
  24. pad_cdown =
  25. pad_cleft =
  26. pad_cright =
  27. pad_circle_up =
  28. pad_circle_down =
  29. pad_circle_left =
  30. pad_circle_right =
  31. pad_circle_modifier =
  32. # The applied modifier scale to circle pad.
  33. # Must be in range of 0.0-1.0. Defaults to 0.5
  34. pad_circle_modifier_scale =
  35. [Core]
  36. # Whether to use the Just-In-Time (JIT) compiler for CPU emulation
  37. # 0: Interpreter (slow), 1 (default): JIT (fast)
  38. use_cpu_jit =
  39. [Renderer]
  40. # Whether to use software or hardware rendering.
  41. # 0: Software, 1 (default): Hardware
  42. use_hw_renderer =
  43. # Whether to use the Just-In-Time (JIT) compiler for shader emulation
  44. # 0: Interpreter (slow), 1 (default): JIT (fast)
  45. use_shader_jit =
  46. # Resolution scale factor
  47. # 0: Auto (scales resolution to window size), 1: Native 3DS screen resolution, Otherwise a scale
  48. # factor for the 3DS resolution
  49. resolution_factor =
  50. # Whether to enable V-Sync (caps the framerate at 60FPS) or not.
  51. # 0 (default): Off, 1: On
  52. use_vsync =
  53. # The clear color for the renderer. What shows up on the sides of the bottom screen.
  54. # Must be in range of 0.0-1.0. Defaults to 1.0 for all.
  55. bg_red =
  56. bg_blue =
  57. bg_green =
  58. [Layout]
  59. # Layout for the screen inside the render window.
  60. # 0 (default): Default Top Bottom Screen, 1: Single Screen Only, 2: Large Screen Small Screen
  61. layout_option =
  62. # Toggle custom layout (using the settings below) on or off.
  63. # 0 (default): Off , 1: On
  64. custom_layout =
  65. # Screen placement when using Custom layout option
  66. # 0x, 0y is the top left corner of the render window.
  67. custom_top_left =
  68. custom_top_top =
  69. custom_top_right =
  70. custom_top_bottom =
  71. custom_bottom_left =
  72. custom_bottom_top =
  73. custom_bottom_right =
  74. custom_bottom_bottom =
  75. #Whether to toggle frame limiter on or off.
  76. # 0: Off , 1 (default): On
  77. toggle_framelimit =
  78. # Swaps the prominent screen with the other screen.
  79. # For example, if Single Screen is chosen, setting this to 1 will display the bottom screen instead of the top screen.
  80. # 0 (default): Top Screen is prominent, 1: Bottom Screen is prominent
  81. swap_screen =
  82. [Audio]
  83. # Which audio output engine to use.
  84. # auto (default): Auto-select, null: No audio output, sdl2: SDL2 (if available)
  85. output_engine =
  86. # Whether or not to enable the audio-stretching post-processing effect.
  87. # This effect adjusts audio speed to match emulation speed and helps prevent audio stutter,
  88. # at the cost of increasing audio latency.
  89. # 0: No, 1 (default): Yes
  90. enable_audio_stretching =
  91. # Which audio device to use.
  92. # auto (default): Auto-select
  93. output_device =
  94. [Data Storage]
  95. # Whether to create a virtual SD card.
  96. # 1 (default): Yes, 0: No
  97. use_virtual_sd =
  98. [System]
  99. # The system model that Citra will try to emulate
  100. # 0: Old 3DS (default), 1: New 3DS
  101. is_new_3ds =
  102. # The system region that Citra will use during emulation
  103. # -1: Auto-select (default), 0: Japan, 1: USA, 2: Europe, 3: Australia, 4: China, 5: Korea, 6: Taiwan
  104. region_value =
  105. [Miscellaneous]
  106. # A filter which removes logs below a certain logging level.
  107. # Examples: *:Debug Kernel.SVC:Trace Service.*:Critical
  108. log_filter = *:Info
  109. [Debugging]
  110. # Port for listening to GDB connections.
  111. use_gdbstub=false
  112. gdbstub_port=24689
  113. )";
  114. }