From 28c9be35ea920d8d3ee69d2b3319cd1eadb79167 Mon Sep 17 00:00:00 2001 From: Scott Stone Date: Wed, 30 Mar 2016 00:38:08 -0400 Subject: Change INIPATH default to cover new HLSL presets (ini/presets) (nw) --- docs/hlsl.txt | 2 -- src/emu/emuopts.cpp | 2 +- src/osd/sdl/sdlmain.cpp | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/hlsl.txt b/docs/hlsl.txt index c2868c4200f..db6cfa6def4 100644 --- a/docs/hlsl.txt +++ b/docs/hlsl.txt @@ -126,5 +126,3 @@ Presets ../ini/presets/lcd-matrix.ini for screens with STN LCD matrix (rename to lcd.ini or .ini) ../ini/presets/gameboy.ini for Game Boy screen (same as lcd-matrix.ini with greenish color transformation) ../ini/presets/gba.ini for Game Boy Advance screen (same as lcd.ini) - -Copy them to ../ini/ to use. diff --git a/src/emu/emuopts.cpp b/src/emu/emuopts.cpp index 97c635093ae..8db25068436 100644 --- a/src/emu/emuopts.cpp +++ b/src/emu/emuopts.cpp @@ -39,7 +39,7 @@ const options_entry emu_options::s_option_entries[] = { OPTION_SAMPLEPATH ";sp", "samples", OPTION_STRING, "path to samplesets" }, { OPTION_ARTPATH, "artwork", OPTION_STRING, "path to artwork files" }, { OPTION_CTRLRPATH, "ctrlr", OPTION_STRING, "path to controller definitions" }, - { OPTION_INIPATH, ".;ini", OPTION_STRING, "path to ini files" }, + { OPTION_INIPATH, ".;ini;ini/presets", OPTION_STRING, "path to ini files" }, { OPTION_FONTPATH, ".", OPTION_STRING, "path to font files" }, { OPTION_CHEATPATH, "cheat", OPTION_STRING, "path to cheat files" }, { OPTION_CROSSHAIRPATH, "crosshair", OPTION_STRING, "path to crosshair files" }, diff --git a/src/osd/sdl/sdlmain.cpp b/src/osd/sdl/sdlmain.cpp index ef4c6b7c927..a16f06ba7e1 100644 --- a/src/osd/sdl/sdlmain.cpp +++ b/src/osd/sdl/sdlmain.cpp @@ -61,7 +61,7 @@ #ifndef INI_PATH #if defined(SDLMAME_WIN32) - #define INI_PATH ".;ini" + #define INI_PATH ".;ini;ini/presets" #elif defined(SDLMAME_MACOSX) #define INI_PATH "$HOME/Library/Application Support/APP_NAME;$HOME/.APP_NAME;.;ini" #else -- cgit v1.2.3