diff options
| author | 2015-12-30 08:18:51 +0100 | |
|---|---|---|
| committer | 2015-12-30 08:18:51 +0100 | |
| commit | 4afd75e2fd0fc40ae0e47ab6063e6228cd7eaabe (patch) | |
| tree | a30d36789b6148002e09f8e65ff6266e21790396 /src/emu | |
| parent | 3b0d814b9b9f890eb2ca1edc3f37c775be76ea88 (diff) | |
Cleanups and version bumpmame0169
Diffstat (limited to 'src/emu')
| -rw-r--r-- | src/emu/clifront.cpp | 2 | ||||
| -rw-r--r-- | src/emu/debug/dvmemory.cpp | 2 | ||||
| -rw-r--r-- | src/emu/debug/dvmemory.h | 4 | ||||
| -rw-r--r-- | src/emu/drivenum.h | 2 | ||||
| -rw-r--r-- | src/emu/input.cpp | 2 | ||||
| -rw-r--r-- | src/emu/ioport.cpp | 2 | ||||
| -rw-r--r-- | src/emu/render.cpp | 2 | ||||
| -rw-r--r-- | src/emu/sound.cpp | 4 |
8 files changed, 7 insertions, 13 deletions
diff --git a/src/emu/clifront.cpp b/src/emu/clifront.cpp index 331aa996121..a9321154c51 100644 --- a/src/emu/clifront.cpp +++ b/src/emu/clifront.cpp @@ -597,8 +597,6 @@ void cli_frontend::listdevices(const char *gamename) // dump the results for (auto device : device_list) { - - // extract the tag, stripping the leading colon const char *tag = device->tag(); if (*tag == ':') diff --git a/src/emu/debug/dvmemory.cpp b/src/emu/debug/dvmemory.cpp index 2327d7284cc..b792d002c27 100644 --- a/src/emu/debug/dvmemory.cpp +++ b/src/emu/debug/dvmemory.cpp @@ -315,7 +315,7 @@ void debug_view_memory::view_update() UINT64 chunkdata = 0; floatx80 chunkdata80 = { 0, 0 }; bool ismapped; - + if (m_data_format != 11) ismapped = read(m_bytes_per_chunk, addrbyte + chunknum * m_bytes_per_chunk, chunkdata); else diff --git a/src/emu/debug/dvmemory.h b/src/emu/debug/dvmemory.h index afe597b8477..234bd0ed19b 100644 --- a/src/emu/debug/dvmemory.h +++ b/src/emu/debug/dvmemory.h @@ -103,11 +103,11 @@ private: debug_view_expression m_expression; // expression describing the start address UINT32 m_chunks_per_row; // number of chunks displayed per line UINT8 m_bytes_per_chunk; // bytes per chunk - int m_data_format; // 1-8 current values 9 32bit floating point + int m_data_format; // 1-8 current values 9 32bit floating point bool m_reverse_view; // reverse-endian view? bool m_ascii_view; // display ASCII characters? bool m_no_translation; // don't run addresses through the cpu translation hook - bool m_edit_enabled; // can modify contents ? + bool m_edit_enabled; // can modify contents ? offs_t m_maxaddr; // (derived) maximum address to display UINT32 m_bytes_per_row; // (derived) number of bytes displayed per line UINT32 m_byte_offset; // (derived) offset of starting visible byte diff --git a/src/emu/drivenum.h b/src/emu/drivenum.h index e3bf3117861..faaf685304a 100644 --- a/src/emu/drivenum.h +++ b/src/emu/drivenum.h @@ -120,7 +120,7 @@ private: void release_current() const; static const int CONFIG_CACHE_COUNT = 100; - + // internal state int m_current; int m_filtered_count; diff --git a/src/emu/input.cpp b/src/emu/input.cpp index 2d19e6b1bf4..4a1100db177 100644 --- a/src/emu/input.cpp +++ b/src/emu/input.cpp @@ -676,7 +676,7 @@ bool input_seq::is_valid() const for (auto code : m_code) { // invalid codes are never permitted - + if (code == INPUT_CODE_INVALID) return false; diff --git a/src/emu/ioport.cpp b/src/emu/ioport.cpp index 9bb43f0c4ec..32bff33dac9 100644 --- a/src/emu/ioport.cpp +++ b/src/emu/ioport.cpp @@ -1344,7 +1344,7 @@ std::string natural_keyboard::dump() for (auto & code : m_keycode_map) { // describe the character code - + strcatprintf(buffer,"%08X (%s) ", code.ch, unicode_to_string(tempstr, code.ch)); // pad with spaces diff --git a/src/emu/render.cpp b/src/emu/render.cpp index 48c53af8262..2fe0a20d880 100644 --- a/src/emu/render.cpp +++ b/src/emu/render.cpp @@ -1423,8 +1423,6 @@ void render_target::invalidate_all(void *refptr) // iterate through all our primitive lists for (auto & list : m_primlist) { - - // if we have a reference to this object, release our list list.acquire_lock(); if (list.has_reference(refptr)) diff --git a/src/emu/sound.cpp b/src/emu/sound.cpp index dbfc8813ec7..89db24f85ca 100644 --- a/src/emu/sound.cpp +++ b/src/emu/sound.cpp @@ -404,7 +404,6 @@ void sound_stream::update_with_accounting(bool second_tick) if (output_bufindex > 0) for (auto & output : m_output) { - memmove(&output.m_buffer[0], &output.m_buffer[samples_to_lose], sizeof(output.m_buffer[0]) * (output_bufindex - samples_to_lose)); } @@ -459,7 +458,6 @@ void sound_stream::recompute_sample_rate_data() // When synchronous, pick the sample rate for the inputs, if any for (auto & input : m_input) { - if (input.m_source != nullptr) { if (!m_sample_rate) @@ -486,7 +484,7 @@ void sound_stream::recompute_sample_rate_data() for (auto & input : m_input) { // if we have a source, see if its sample rate changed - + if (input.m_source != nullptr) { // okay, we have a new sample rate; recompute the latency to be the maximum |
