summaryrefslogtreecommitdiff
path: root/apps/plugins/zxbox/sp_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/zxbox/sp_def.h')
-rw-r--r--apps/plugins/zxbox/sp_def.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/zxbox/sp_def.h b/apps/plugins/zxbox/sp_def.h
index 1030be120c..931804ff9c 100644
--- a/apps/plugins/zxbox/sp_def.h
+++ b/apps/plugins/zxbox/sp_def.h
@@ -1,4 +1,4 @@
1/* 1/*
2 * Copyright (C) 1996-1998 Szeredi Miklos 2 * Copyright (C) 1996-1998 Szeredi Miklos
3 * Email: mszeredi@inf.bme.hu 3 * Email: mszeredi@inf.bme.hu
4 * 4 *
@@ -20,7 +20,7 @@
20 20
21#include "spperif.h" 21#include "spperif.h"
22 22
23#define MARK_SCR(addr) SPNM(scr_mark)[(addr) >> 5] |= 1 << ((addr) & 0x1F) 23#define MARK_SCR(addr) SPNM(scr_mark)[(addr) >> 5] |= BIT_N((addr) & 0x1F)
24 24
25#define PUTMEM(addr, ptr, val) \ 25#define PUTMEM(addr, ptr, val) \
26{ \ 26{ \