summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/bitstream.h
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2012-02-19 15:23:23 +0000
committer Angelo Salese <angelosa@users.noreply.github.com>2012-02-19 15:23:23 +0000
commitcf4b58b6f630f0f7ef2d14be8f48de781de85170 (patch)
treefda19b40204c84e17d2c5965a7a1b7f15b6f85da /src/lib/util/bitstream.h
parent2f8094ea333d06e32d2694a467a4b40e0aa835c1 (diff)
Clean-ups and version bumpmame0145u1
Diffstat (limited to 'src/lib/util/bitstream.h')
-rw-r--r--src/lib/util/bitstream.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/util/bitstream.h b/src/lib/util/bitstream.h
index e8aa8fa1184..1c1859199d7 100644
--- a/src/lib/util/bitstream.h
+++ b/src/lib/util/bitstream.h
@@ -55,11 +55,11 @@ class bitstream_in
public:
// construction/destruction
bitstream_in(const void *src, UINT32 srclength);
-
+
// getters
bool overflow() const { return ((m_doffset - m_bits / 8) > m_dlength); }
UINT32 read_offset() const;
-
+
// operations
UINT32 read(int numbits);
UINT32 peek(int numbits);
@@ -82,10 +82,10 @@ class bitstream_out
public:
// construction/destruction
bitstream_out(void *dest, UINT32 destlength);
-
+
// getters
bool overflow() const { return (m_doffset > m_dlength); }
-
+
// operations
void write(UINT32 newbits, int numbits);
UINT32 flush();