mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
provide outb for when not optimising
This commit is contained in:
parent
8cbf3b2b62
commit
e9c01870b3
1 changed files with 8 additions and 0 deletions
|
@ -672,3 +672,11 @@ VID_SetGamma (double gamma)
|
|||
{
|
||||
return false; //FIXME
|
||||
}
|
||||
|
||||
#ifdef i386
|
||||
void
|
||||
outb (unsigned char val, unsigned short port)
|
||||
{
|
||||
asm ("outb %b0, %w1" : :"a"(val), "d"(port));
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue