aboutsummaryrefslogtreecommitdiff
path: root/src/device/oprom/x86emu/prim_ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/oprom/x86emu/prim_ops.c')
-rw-r--r--src/device/oprom/x86emu/prim_ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device/oprom/x86emu/prim_ops.c b/src/device/oprom/x86emu/prim_ops.c
index 08a22bd356..8b2c38a5ad 100644
--- a/src/device/oprom/x86emu/prim_ops.c
+++ b/src/device/oprom/x86emu/prim_ops.c
@@ -2295,7 +2295,7 @@ Implements the IN string instruction and side effects.
static void single_in(int size)
{
- if(size == 1)
+ if (size == 1)
store_data_byte_abs(M.x86.R_ES, M.x86.R_DI,(*sys_inb)(M.x86.R_DX));
else if (size == 2)
store_data_word_abs(M.x86.R_ES, M.x86.R_DI,(*sys_inw)(M.x86.R_DX));
@@ -2337,7 +2337,7 @@ Implements the OUT string instruction and side effects.
static void single_out(int size)
{
- if(size == 1)
+ if (size == 1)
(*sys_outb)(M.x86.R_DX,fetch_data_byte_abs(M.x86.R_ES, M.x86.R_SI));
else if (size == 2)
(*sys_outw)(M.x86.R_DX,fetch_data_word_abs(M.x86.R_ES, M.x86.R_SI));