summaryrefslogtreecommitdiffstats
path: root/src/emu/divtlb.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 16:37:12 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 16:37:12 +0200
commita6bdefec8c76e9878b634119c56438a7673b0385 (patch)
tree9b435836a12773fe5b84cf1fd04866ecd9ecc2da /src/emu/divtlb.cpp
parent5f3d4fb33da4304e417a0e142e82e3d292646465 (diff)
more TRUE/FALSE cleanup (nw)
Diffstat (limited to 'src/emu/divtlb.cpp')
-rw-r--r--src/emu/divtlb.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/divtlb.cpp b/src/emu/divtlb.cpp
index 942202afc35..2a3cad48bf3 100644
--- a/src/emu/divtlb.cpp
+++ b/src/emu/divtlb.cpp
@@ -139,7 +139,7 @@ void device_vtlb_interface::interface_pre_reset()
// response to an unmapped access
//-------------------------------------------------
-int device_vtlb_interface::vtlb_fill(offs_t address, int intention)
+bool device_vtlb_interface::vtlb_fill(offs_t address, int intention)
{
offs_t tableindex = address >> m_pageshift;
vtlb_entry entry = m_table[tableindex];
@@ -158,7 +158,7 @@ int device_vtlb_interface::vtlb_fill(offs_t address, int intention)
#if PRINTF_TLB
osd_printf_debug("failed: no dynamic entries\n");
#endif
- return FALSE;
+ return false;
}
// ask the CPU core to translate for us
@@ -168,7 +168,7 @@ int device_vtlb_interface::vtlb_fill(offs_t address, int intention)
#if PRINTF_TLB
osd_printf_debug("failed: no translation\n");
#endif
- return FALSE;
+ return false;
}
// if this is the first successful translation for this address, allocate a new entry
@@ -206,7 +206,7 @@ int device_vtlb_interface::vtlb_fill(offs_t address, int intention)
// add the intention to the list of valid intentions and store
entry |= 1 << (intention & (TRANSLATE_TYPE_MASK | TRANSLATE_USER_MASK));
m_table[tableindex] = entry;
- return TRUE;
+ return true;
}