Cleanups and version bump

This commit is contained in:
Miodrag Milanovic 2015-06-24 07:36:50 +02:00
parent 03a5bfa56f
commit d1583b9850
163 changed files with 4053 additions and 4077 deletions

View File

@ -126,4 +126,3 @@ WRITE_LINE_MEMBER(cpc_hd20_device::irq_w)
// if(state) // if(state)
// m_hdc->set_ready(); // m_hdc->set_ready();
} }

View File

@ -539,7 +539,6 @@ void mn10200_device::execute_run()
{ {
while (m_cycles > 0) while (m_cycles > 0)
{ {
// internal peripheral, external pin, or prev instruction may have changed irq state // internal peripheral, external pin, or prev instruction may have changed irq state
while (m_possible_irq) while (m_possible_irq)
{ {

View File

@ -99,7 +99,6 @@ public:
const logic_family_desc_t *logic_family_desc_t::from_model(const pstring &model) const logic_family_desc_t *logic_family_desc_t::from_model(const pstring &model)
{ {
if (setup_t::model_value_str(model, "TYPE", "") == "TTL") if (setup_t::model_value_str(model, "TYPE", "") == "TTL")
return &netlist_family_TTL; return &netlist_family_TTL;
if (setup_t::model_value_str(model, "TYPE", "") == "CD4000") if (setup_t::model_value_str(model, "TYPE", "") == "CD4000")

View File

@ -171,7 +171,6 @@ typedef UINT8 netlist_sig_t;
//============================================================ //============================================================
#define NETLIB_NAMESPACE_DEVICES_START() namespace netlist { namespace devices { #define NETLIB_NAMESPACE_DEVICES_START() namespace netlist { namespace devices {
#define NETLIB_NAMESPACE_DEVICES_END() }} #define NETLIB_NAMESPACE_DEVICES_END() }}
#define NETLIB_NAME(_chip) nld_ ## _chip #define NETLIB_NAME(_chip) nld_ ## _chip

View File

@ -13,7 +13,6 @@
namespace netlist namespace netlist
{ {
// ---------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
// net_device_t_base_factory // net_device_t_base_factory
// ---------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------

View File

@ -16,7 +16,6 @@
namespace netlist namespace netlist
{ {
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
// net_dev class factory // net_dev class factory
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------

View File

@ -19,7 +19,6 @@
namespace netlist namespace netlist
{ {
template <class _Element, class _Time> template <class _Element, class _Time>
class timed_queue class timed_queue
{ {

View File

@ -14,7 +14,6 @@
namespace netlist namespace netlist
{ {
class parser_t : public ptokenizer class parser_t : public ptokenizer
{ {
NETLIST_PREVENT_COPYING(parser_t) NETLIST_PREVENT_COPYING(parser_t)

View File

@ -39,7 +39,6 @@ NETLIST_END()
namespace netlist namespace netlist
{ {
setup_t::setup_t(netlist_t *netlist) setup_t::setup_t(netlist_t *netlist)
: m_netlist(netlist) : m_netlist(netlist)
, m_proxy_cnt(0) , m_proxy_cnt(0)

View File

@ -55,7 +55,6 @@
#define NETLIST_START(_name) \ #define NETLIST_START(_name) \
ATTR_COLD void NETLIST_NAME(_name)(netlist::setup_t &setup) \ ATTR_COLD void NETLIST_NAME(_name)(netlist::setup_t &setup) \
{ {
#define NETLIST_END() } #define NETLIST_END() }
#define LOCAL_SOURCE(_name) \ #define LOCAL_SOURCE(_name) \
@ -75,7 +74,6 @@ ATTR_COLD void NETLIST_NAME(_name)(netlist::setup_t &setup)
namespace netlist namespace netlist
{ {
// Forward definition so we keep nl_factory.h out of the public // Forward definition so we keep nl_factory.h out of the public
class factory_list_t; class factory_list_t;

View File

@ -27,7 +27,6 @@
namespace netlist namespace netlist
{ {
struct netlist_time struct netlist_time
{ {
public: public:

View File

@ -539,7 +539,6 @@ public:
pstring_list_t(const pstring &str, const pstring &onstr, bool ignore_empty = false) pstring_list_t(const pstring &str, const pstring &onstr, bool ignore_empty = false)
: plist_t<pstring>() : plist_t<pstring>()
{ {
int p = 0; int p = 0;
int pn; int pn;

View File

@ -92,7 +92,7 @@ struct mat_cr_t
* *
* ==> LUx = r * ==> LUx = r
* *
* ==> Ux = L¹r = w * ==> Ux = L?????r = w
* *
* ==> r = Lw * ==> r = Lw
* *

View File

@ -17,7 +17,6 @@
template <unsigned _storage_N> template <unsigned _storage_N>
struct pvector struct pvector
{ {
pvector(unsigned size) pvector(unsigned size)
: m_N(size) { } : m_N(size) { }

View File

@ -179,7 +179,7 @@ nl_convert_base_t::unit_t nl_convert_base_t::m_units[] = {
{"M", "CAP_M(%g)", 1.0e-3 }, {"M", "CAP_M(%g)", 1.0e-3 },
{"u", "CAP_U(%g)", 1.0e-6 }, /* eagle */ {"u", "CAP_U(%g)", 1.0e-6 }, /* eagle */
{"U", "CAP_U(%g)", 1.0e-6 }, {"U", "CAP_U(%g)", 1.0e-6 },
{"µ", "CAP_U(%g)", 1.0e-6 }, {"??", "CAP_U(%g)", 1.0e-6 },
{"N", "CAP_N(%g)", 1.0e-9 }, {"N", "CAP_N(%g)", 1.0e-9 },
{"P", "CAP_P(%g)", 1.0e-12}, {"P", "CAP_P(%g)", 1.0e-12},
{"F", "%ge-15", 1.0e-15}, {"F", "%ge-15", 1.0e-15},
@ -454,5 +454,3 @@ void nl_convert_eagle_t::convert(const pstring &contents)
} }
} }

View File

@ -164,7 +164,6 @@ public:
class eagle_tokenizer : public ptokenizer class eagle_tokenizer : public ptokenizer
{ {
public: public:
eagle_tokenizer(nl_convert_eagle_t &convert) eagle_tokenizer(nl_convert_eagle_t &convert)
: ptokenizer(), m_convert(convert) : ptokenizer(), m_convert(convert)

View File

@ -140,4 +140,3 @@ bool svi_format::supports_save() const
} }
const floppy_format_type FLOPPY_SVI_FORMAT = &floppy_image_format_creator<svi_format>; const floppy_format_type FLOPPY_SVI_FORMAT = &floppy_image_format_creator<svi_format>;

View File

@ -204,7 +204,6 @@ bool wd177x_format::load(io_generic *io, UINT32 form_factor, floppy_image *image
for(int track=0; track < f.track_count; track++) for(int track=0; track < f.track_count; track++)
for(int head=0; head < f.head_count; head++) { for(int head=0; head < f.head_count; head++) {
if (f.encoding == floppy_image::FM) if (f.encoding == floppy_image::FM)
desc[14].p1 = get_track_dam_fm(f, head, track); desc[14].p1 = get_track_dam_fm(f, head, track);
else else

View File

@ -659,8 +659,7 @@ public:
if (is_mfp() && (HAS_DIFFERENT_ABI)) \ if (is_mfp() && (HAS_DIFFERENT_ABI)) \
return (*reinterpret_cast<generic_member_func>(m_function)) x; \ return (*reinterpret_cast<generic_member_func>(m_function)) x; \
else \ else \
return (*m_function) x; \ return (*m_function) x;
//return MEMBER_ABI (*reinpertret_cast<generic_member_func>(m_function)) x; //return MEMBER_ABI (*reinpertret_cast<generic_member_func>(m_function)) x;
// call the function // call the function

View File

@ -7,7 +7,7 @@
Chase (aka Chase1) (1976) Chase (aka Chase1) (1976)
Deluxe Soccer (1973) Deluxe Soccer (1973)
Fire Power (1975) Fire Power (1975)
tsball (1975) F??tsball (1975)
Galaxy Raider (1974) Galaxy Raider (1974)
Hesitation (1974) AL-6500? Hesitation (1974) AL-6500?
Hockey, Soccer, Tennis (1974) Hockey, Soccer, Tennis (1974)

View File

@ -5131,7 +5131,6 @@ DRIVER_INIT_MEMBER(segas32_new_state, arescue)
} }
DRIVER_INIT_MEMBER(segas32_new_state,f1en) { DRIVER_INIT_MEMBER(segas32_new_state,f1en) {
m_mainpcb->init_f1en(); m_mainpcb->init_f1en();
m_slavepcb->init_f1en(); m_slavepcb->init_f1en();

View File

@ -37,4 +37,3 @@
@sa http://www.stack.nl/~dimitri/doxygen/manual/commands.html @sa http://www.stack.nl/~dimitri/doxygen/manual/commands.html
@todo needs discussion for accepted standardized syntax @todo needs discussion for accepted standardized syntax
*/ */

View File

@ -299,4 +299,3 @@ protected:
extern const UINT8 ga2_v25_opcode_table[]; extern const UINT8 ga2_v25_opcode_table[];
extern const device_type SEGA_S32_PCB; extern const device_type SEGA_S32_PCB;

View File

@ -29,4 +29,3 @@ pong // (c) 1972 Atari
pongd // (c) 1975 Atari pongd // (c) 1975 Atari
pongf // (c) 1972 Atari pongf // (c) 1972 Atari
breakout // (c) 1976 Atari breakout // (c) 1976 Atari

View File

@ -8,7 +8,7 @@
***************************************************************************/ ***************************************************************************/
#define BARE_BUILD_VERSION "0.162" #define BARE_BUILD_VERSION "0.163"
extern const char bare_build_version[]; extern const char bare_build_version[];
extern const char build_version[]; extern const char build_version[];