summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cheat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cheat.c')
-rw-r--r--src/emu/cheat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cheat.c b/src/emu/cheat.c
index 60a18946e3b..69d96011d77 100644
--- a/src/emu/cheat.c
+++ b/src/emu/cheat.c
@@ -1645,7 +1645,7 @@ static UINT64 execute_frombcd(void *ref, UINT32 params, const UINT64 *param)
UINT64 value = param[0];
UINT64 multiplier = 1;
UINT64 result = 0;
-
+
while (value != 0)
{
result += (value & 0x0f) * multiplier;
@@ -1665,7 +1665,7 @@ static UINT64 execute_tobcd(void *ref, UINT32 params, const UINT64 *param)
UINT64 value = param[0];
UINT64 result = 0;
UINT8 shift = 0;
-
+
while (value != 0)
{
result += (value % 10) << shift;