summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorGravatarGravatar Vas Crabb <vas@vastheman.com>2019-11-19 01:33:46 +1100
committerGravatarGravatar Vas Crabb <vas@vastheman.com>2019-11-19 01:33:46 +1100
commita0d110e5f6cd50f8915b1112c96d2084a717513f (patch)
treedd98e8addbc405612b7ac2b1ccafd89c641090ec /src
parent3897ad7519a86c3f39e9af9319f041452c0d3940 (diff)
ioport.cpp: small cleanup (nw)
Diffstat (limited to 'src')
-rw-r--r--src/emu/ioport.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/emu/ioport.cpp b/src/emu/ioport.cpp
index 69cc6f151a7..0d7fe96e5b5 100644
--- a/src/emu/ioport.cpp
+++ b/src/emu/ioport.cpp
@@ -106,6 +106,7 @@
namespace {
+
// temporary: set this to 1 to enable the originally defined behavior that
// a field specified via PORT_MODIFY which intersects a previously-defined
// field completely wipes out the previous definition
@@ -289,7 +290,7 @@ const struct
{ INPUT_STRING_None, "None" },
};
-} // TODO: anonymous namespace
+} // anonymous namespace
// XML attributes for the different types
@@ -2010,7 +2011,7 @@ void ioport_manager::frame_update_callback()
void ioport_manager::frame_update()
{
-g_profiler.start(PROFILER_INPUT);
+ g_profiler.start(PROFILER_INPUT);
// record/playback information about the current frame
attotime curtime = machine().time();
@@ -2048,7 +2049,7 @@ g_profiler.start(PROFILER_INPUT);
dynfield.write(newvalue);
}
-g_profiler.stop();
+ g_profiler.stop();
}