mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +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 unsigned char rightMask;
|
||||
|
||||
#define READ_REGISTER_UCHAR(p) (*((PUCHAR)(p)))
|
||||
#define WRITE_REGISTER_UCHAR(p,c) (*((PCHAR)(p))) = (c)
|
||||
#define READ_REGISTER_UCHAR(p) (*((volatile UCHAR *)(p)))
|
||||
#define WRITE_REGISTER_UCHAR(p,c) (*((volatile CHAR *)(p))) = (c)
|
||||
|
||||
INT abs(INT nm)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue