summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/rendlay.c
diff options
context:
space:
mode:
author Derrick Renaud <derrickr@mamedev.org>2009-03-28 22:55:34 +0000
committer Derrick Renaud <derrickr@mamedev.org>2009-03-28 22:55:34 +0000
commit01962d4fc5c6f881632421f773d9f21fa9ea1a3b (patch)
treeb2490e5fc42a76665da7351341df7ffbc55892d4 /src/emu/rendlay.c
parent9c63c950435a3d896cfb5d0d8cb639d55f559819 (diff)
Crosshair update
* Added Crosshair Options menu - ability to individually enable/disable crosshairs - ability for them to automatically disappear after a set amount of time - ability to select crosshair graphic - all settings are saved in the cfg file * Removed F1 toggle for crosshairs * Added new command option -crsshairpath - store all selectable graphics here - see config.txt for further info OSD NOTE: render_load_png() has been changed to no longer force usage of the artwork directory. Do a search for "render_load_png(" and replace with "render_load_png(OPTION_ARTPATH, " if needed. ---------------------------- F1 is now free to use for something new. I was thinking it would be perfect for a context sensitive help file. Each menu item could have a help tag, that it would look up and display info from an HTML file.
Diffstat (limited to 'src/emu/rendlay.c')
-rw-r--r--src/emu/rendlay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/rendlay.c b/src/emu/rendlay.c
index f11c5bf075e..f3b0d0cbf66 100644
--- a/src/emu/rendlay.c
+++ b/src/emu/rendlay.c
@@ -1882,11 +1882,11 @@ static bitmap_t *load_component_bitmap(const char *dirname, const char *file, co
bitmap_t *bitmap;
/* load the basic bitmap */
- bitmap = render_load_png(dirname, file, NULL, hasalpha);
+ bitmap = render_load_png(OPTION_ARTPATH, dirname, file, NULL, hasalpha);
if (bitmap != NULL && alphafile != NULL)
/* load the alpha bitmap if specified */
- if (render_load_png(dirname, alphafile, bitmap, hasalpha) == NULL)
+ if (render_load_png(OPTION_ARTPATH, dirname, alphafile, bitmap, hasalpha) == NULL)
{
bitmap_free(bitmap);
bitmap = NULL;