summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-07-31 19:23:49 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-07-31 20:02:56 +0200
commit6f5e223853eceb25a542c81d86c5cc9c715e3879 (patch)
tree21f6aabcbe586f330d895b19f224bbc08f145321 /src/lib
parent49bd91f3dee2a7a3e18dcc5be4ae5ea6d116157b (diff)
for bool type use true and false (nw)
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/formats/dsk_dsk.cpp4
-rw-r--r--src/lib/util/aviio.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/formats/dsk_dsk.cpp b/src/lib/formats/dsk_dsk.cpp
index 4987a5bb52b..528f30c24be 100644
--- a/src/lib/formats/dsk_dsk.cpp
+++ b/src/lib/formats/dsk_dsk.cpp
@@ -343,13 +343,13 @@ struct sector_header
bool dsk_format::load(io_generic *io, UINT32 form_factor, floppy_image *image)
{
UINT8 header[0x100];
- bool extendformat = FALSE;
+ bool extendformat = false;
UINT64 image_size = io_generic_size(io);
io_generic_read(io, &header, 0, sizeof(header));
if ( memcmp( header, EXT_FORMAT_HEADER, 16 ) ==0) {
- extendformat = TRUE;
+ extendformat = true;
}
int heads = header[0x31];
diff --git a/src/lib/util/aviio.cpp b/src/lib/util/aviio.cpp
index f0feceeffbd..6efae25a654 100644
--- a/src/lib/util/aviio.cpp
+++ b/src/lib/util/aviio.cpp
@@ -1945,7 +1945,7 @@ avi_file::error avi_file_impl::append_sound_samples(int channel, const std::int1
m_soundbuf_chansamples[channel] = sampoffset;
/* flush any full sound chunks to disk */
- return soundbuf_flush(TRUE);
+ return soundbuf_flush(true);
}