diff options
author | Aaron Giles <aaron@aarongiles.com> | 2010-10-21 06:01:17 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2010-10-21 06:01:17 +0000 |
commit | 3ae00656d4bd5240de5e8529071007e7c20986e6 (patch) | |
tree | b942960074ba1e253dec5c99b811785303f934f9 /src/emu/render.c | |
parent | 082621bd254754fe0ba1bc25dbc36520647cd2db (diff) |
Cleanups and version bump.mame0140
Diffstat (limited to 'src/emu/render.c')
-rw-r--r-- | src/emu/render.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/render.c b/src/emu/render.c index 48bc9fcdfe4..106fa80cd6a 100644 --- a/src/emu/render.c +++ b/src/emu/render.c @@ -1232,7 +1232,7 @@ void render_target::compute_minimum_size(INT32 &minwidth, INT32 &minheight) { float maxxscale = 1.0f, maxyscale = 1.0f; int screens_considered = 0; - + // early exit in case we are called between device teardown and render teardown if (m_manager.machine().m_devicelist.count() == 0) { @@ -1584,12 +1584,12 @@ bool render_target::load_layout_file(const char *dirname, const char *filename) file_error filerr = mame_fopen(SEARCHPATH_ARTWORK, fname, OPEN_FLAG_READ, &layoutfile); if (filerr != FILERR_NONE) return false; - + // read the file rootnode = xml_file_read(mame_core_file(layoutfile), NULL); mame_fclose(layoutfile); } - + // if we didn't get a properly-formatted XML file, record a warning and exit if (rootnode == NULL) { @@ -1599,7 +1599,7 @@ bool render_target::load_layout_file(const char *dirname, const char *filename) mame_printf_warning("Improperly formatted XML string, ignorning"); return false; } - + // parse and catch any errors bool result = true; try |