Commit Graph

45474 Commits

Author SHA1 Message Date
Nathan Woods
a2b0b2fbd4 Fixed breakage caused by a change in how the byte for ROM_FILL is represented with recent changes 2016-08-01 19:46:53 -04:00
Vas Crabb
871656c98c Merge pull request #1171 from npwoods/romentry_move_redo
Changes rom_entry from a struct to a class, storing its strings as stdd::string and separated the declaration into a new header
2016-08-01 22:51:23 +10:00
Nathan Woods
7384598c25 Added some default constructors to rom_entry(), and made it so changes to flags are done through a set_flags() accessor method 2016-08-01 08:48:23 -04:00
Vas Crabb
3c4643489f Merge pull request #1172 from npwoods/fix_diimage_load
Fixing a stupid merge error that broke image loading
2016-08-01 22:15:11 +10:00
Nathan Woods
2d2a193c02 Fixing a stupid merge error that broke image loading 2016-08-01 08:13:10 -04:00
Nathan Woods
ee302246c9 Changes rom_entry from a struct to a class, storing its strings as std::string and separated the declaration into a new header.
This should really be followed up by further changes to eliminate the usage of the weird accessor macros in favor of conventional C++
accessors
2016-08-01 08:01:34 -04:00
Vas Crabb
f04a3f1b9d Fix Qt debugger 2016-08-01 20:56:38 +10:00
Vas Crabb
15e7be7ac8 Turn image init/validate into scoped enums to avoid accidental casts to/from integer and boolean types
The image error should also be turned into a scoped enum - the menus were assuming it was the same thing as an init result
2016-08-01 18:47:22 +10:00
Vas Crabb
c4c05c9735 Merge pull request #1166 from npwoods/diimage_filetype_as_stdstring
This changes device_image_interface::filetype() to return 'const std::string &' instead of 'const char *'
2016-08-01 14:14:04 +10:00
Nathan Woods
c1a2ae9751 Missed this conversion to is_filetype() 2016-08-01 00:13:10 -04:00
Nathan Woods
59ca4d1763 1. Merge branch 'master' into diimage_filetype_as_stdstring
2.  Introduced is_filetype(), instead of normalizing filetype() to lower case
2016-07-31 23:52:57 -04:00
Vas Crabb
e2682ec4da Merge pull request #1161 from npwoods/separate_softlist_image_load
Changed device_image_interface::load() so that it is no longer responsible for both loading images and softlist items
2016-08-01 12:43:22 +10:00
Nathan Woods
7b7faffd01 Merge branch 'master' into separate_softlist_image_load 2016-07-31 22:42:27 -04:00
Vas Crabb
2c9966e3c9 Merge pull request #1167 from npwoods/make_diimage_members_private
Made a bunch of device_image_interface members private
2016-08-01 09:56:52 +10:00
Nathan Woods
9d1a53bef3 Made a bunch of device_image_interface members private (instead of protected) 2016-07-31 17:55:26 -04:00
Dirk Best
93093bbf3f apricot: add rtc support to keyboard 2016-07-31 22:29:56 +02:00
yz70s
8b9b6abc5a chihiro.cpp: game ghostsqu boots too (nw) 2016-07-31 22:18:46 +02:00
Nathan Woods
024f698364 Merge branch 'master' into separate_softlist_image_load 2016-07-31 15:20:49 -04:00
Nathan Woods
a4f24a24d3 This changes device_image_interface::filetype() to return 'const std::string &' instead of 'const char *'.
In the interests of removing burdens from client code, I also changed the following:
- filetype() will always return the file extension in lower case
- device_image_interface::filetype() will return the correct extension for files loaded as a part of softlists
- The code for extracting a file extension is now encapsulated in core_filename_extract_extension()

Client code has been updated
2016-07-31 15:06:06 -04:00
Miodrag Milanovic
91fcff1b6d cleanup (nw) 2016-07-31 20:29:24 +02:00
Miodrag Milanovic
22c7a00d57 reverse logic of IMAGE_VERIFY (nw) 2016-07-31 20:02:56 +02:00
Miodrag Milanovic
6f5e223853 for bool type use true and false (nw) 2016-07-31 20:02:56 +02:00
yz70s
49bd91f3de chihiro.cpp: try to boot scg06nt and wangmid (nw) 2016-07-31 19:54:00 +02:00
Vas Crabb
0ceae26bb4 patch up on OSX 2016-08-01 01:37:39 +10:00
Vas Crabb
a0ce6c3b37 fix after pass through the diff 2016-08-01 01:20:03 +10:00
Miodrag Milanovic
f127621e13 made constexprs lower case and used constexpr for returning input value as well for rest of defines in osdcomm.h (nw) 2016-07-31 16:47:26 +02:00
Miodrag Milanovic
eaa70ae031 cleanup of some conversions (nw) 2016-07-31 16:41:26 +02:00
Miodrag Milanovic
d0bf3221ea Merge branch 'master' of https://github.com/mamedev/mame 2016-07-31 16:18:19 +02:00
Vas Crabb
05444e3c00 unbreak large files in chdman after refactor 2016-08-01 00:17:52 +10:00
Miodrag Milanovic
d20fa27c1b fix vs2015 build (nw) 2016-07-31 16:13:12 +02:00
cracyc
a006c68ef5 fix build (nw) 2016-07-31 09:04:28 -05:00
Miodrag Milanovic
d91322223b fixed clang (nw) 2016-07-31 15:59:39 +02:00
Vas Crabb
6bf9f2fd9c macros should be turned into constexpr or they can't be used in many situations they were previously use in
the silly _partialNN functions are necessary because MSVC doesn't support C++14 properly
2016-07-31 23:50:41 +10:00
Miodrag Milanovic
8594237ba6 imgtool fix (nw) 2016-07-31 15:49:22 +02:00
Miodrag Milanovic
185f5059fb algorithm-> utility where appropriate, fix imgtool (nw) 2016-07-31 15:37:37 +02:00
Miodrag Milanovic
184f7e5605 win compile fix due to previous changes (nw) 2016-07-31 15:31:22 +02:00
Miodrag Milanovic
2a87e99b21 fix osx compile (nw) 2016-07-31 15:24:28 +02:00
angelosa
ac36da95aa New NOT_WORKING
---------------
Ring & Ball (?) [Hammy]
2016-07-31 15:14:27 +02:00
Miodrag Milanovic
aeadbfe2b1 fix linux compile (nw) 2016-07-31 14:59:01 +02:00
Vas Crabb
c703235246 Merge pull request #1165 from npwoods/diimage_add_format
Created device_image_interface::add_format() protected member and made device_image_interface::m_formatlist be private
2016-07-31 22:54:28 +10:00
Nathan Woods
b1b29cd44e Created device_image_interface::add_format() protected member and made device_image_interface::m_formatlist be private 2016-07-31 08:47:49 -04:00
Miodrag Milanovic
9667c6a8cc std::min and std:max instead of MIN and MAX, also some more macros converted to inline functions (nw) 2016-07-31 14:41:02 +02:00
Vas Crabb
69ac4affc8 Merge pull request #1163 from npwoods/remove_public_has_been_created
Removed device_image_interface::has_been_created()
2016-07-31 22:24:23 +10:00
briantro
dad9bf7b2a itech32.cpp: Restore unique sound rom - NW
Restore unique sound rom do cut-n-paste overwrite and not paying attention.
2016-07-30 22:31:08 -05:00
Robbbert
90bf6de1da Fixed the build. 2016-07-31 10:56:34 +10:00
Nathan Woods
9902a3bb99 Merge branch 'master' into remove_public_has_been_created 2016-07-30 19:42:35 -04:00
Vas Crabb
4aa24a866e Merge pull request #1164 from aviloria/patch-4
Update spanish strings
2016-07-31 09:40:01 +10:00
Vas Crabb
49e5c0d10e Merge pull request #1162 from npwoods/msvc_keyboardipp_workaround
Added workaround for MSVC warning
2016-07-31 09:28:38 +10:00
aviloria
5572388eb6 Update spanish strings 2016-07-31 00:08:50 +02:00
R. Belmont
a14d9322ba Merge pull request #1160 from shattered/_9e9d61f
dvk_ksm: unbreak host comms, add PORT_CHARs to its keyboard
2016-07-30 16:22:50 -04:00