mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
don't optimize reading/writing from/to vga memory away in optimized builds. this fixes bug #490
svn path=/trunk/; revision=13330
This commit is contained in:
parent
002ed92443
commit
fb5a8b1c3c
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ static unsigned char leftMask;
|
||||||
static int byteCounter;
|
static int byteCounter;
|
||||||
static unsigned char rightMask;
|
static unsigned char rightMask;
|
||||||
|
|
||||||
#define READ_REGISTER_UCHAR(p) (*((PUCHAR)(p)))
|
#define READ_REGISTER_UCHAR(p) (*((volatile UCHAR *)(p)))
|
||||||
#define WRITE_REGISTER_UCHAR(p,c) (*((PCHAR)(p))) = (c)
|
#define WRITE_REGISTER_UCHAR(p,c) (*((volatile CHAR *)(p))) = (c)
|
||||||
|
|
||||||
INT abs(INT nm)
|
INT abs(INT nm)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue