diff options
author | Aaron Giles <aaron@aarongiles.com> | 2011-02-12 03:47:37 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2011-02-12 03:47:37 +0000 |
commit | 1b54456be5fd090b039b3e9f691ac0464ffdff12 (patch) | |
tree | 3839c21fada7804940b1c828dcceb6a57ff9c74f /src/osd/osdcore.h | |
parent | 061548d2bec629c46712844ffe459292f3c745f4 (diff) |
mame_file is now emu_file and is a class. It is required
to pass a core_options object to the constructor, along with
a search path. This required pushing either a running_machine
or a core_options through some code that wasn't previously
ready to handle it. emu_files can be reused over multiple
open/close sessions, and a lot of core code cleaned up
nicely as things were converted to them.
Also created a file_enumerator class for iterating over files
in a searchpath. This replaces the old mame_openpath functions.
Changed machine->options() to return a reference.
Removed public nvram_open() and fixed jchan/kaneko16 to
stop directly saving NVRAM.
Removed most of the mame_options() calls; this will soon go
away entirely, so don't add any more.
Added core_options to device_validity_check() so they can be
used to validate things.
Diffstat (limited to 'src/osd/osdcore.h')
-rw-r--r-- | src/osd/osdcore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/osdcore.h b/src/osd/osdcore.h index 872fc80bb49..6f98828f4b3 100644 --- a/src/osd/osdcore.h +++ b/src/osd/osdcore.h @@ -117,7 +117,7 @@ typedef struct _osd_file osd_file; Notes: - This function is called by mame_fopen and several other places in + This function is called by core_fopen and several other places in the core to access files. These functions will construct paths by concatenating various search paths held in the options.c options database with partial paths specified by the core. The core assumes |