summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/jaguar.cpp
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2016-07-31 23:52:57 -0400
committer Nathan Woods <npwoods@mess.org>2016-07-31 23:52:57 -0400
commit59ca4d1763ab890144465cb9822d1530a1e5ec6f (patch)
tree8354f829f91af50f1deeed65b403baa5b6a16c68 /src/mame/drivers/jaguar.cpp
parenta4f24a24d3ed131d75b407a96a44b7d7c5d68b65 (diff)
parente2682ec4daae69e3519452446c6e16a6e0999ca6 (diff)
1. Merge branch 'master' into diimage_filetype_as_stdstring
2. Introduced is_filetype(), instead of normalizing filetype() to lower case
Diffstat (limited to 'src/mame/drivers/jaguar.cpp')
-rw-r--r--src/mame/drivers/jaguar.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/jaguar.cpp b/src/mame/drivers/jaguar.cpp
index ff4d8129b76..448d92b1526 100644
--- a/src/mame/drivers/jaguar.cpp
+++ b/src/mame/drivers/jaguar.cpp
@@ -2018,11 +2018,11 @@ int jaguar_state::quickload(device_image_interface &image, const char *file_type
skip = 96;
else /* ABS binary */
- if (image.filetype() == "abs")
+ if (image.is_filetype("abs"))
start = 0xc000;
else /* JAG binary */
- if (image.filetype() == "jag")
+ if (image.is_filetype("jag"))
start = 0x5000;
@@ -2063,7 +2063,7 @@ DEVICE_IMAGE_LOAD_MEMBER( jaguar_state, jaguar_cart )
size = image.length();
/* .rom files load & run at 802000 */
- if (image.filetype() == "rom")
+ if (image.is_filetype("rom"))
{
load_offset = 0x2000; // fix load address
m_cart_base[0x101] = 0x802000; // fix exec address