mirror of
https://git.code.sf.net/p/quake/nuq
synced 2024-11-22 04:01:11 +00:00
fixes for no optimisation
This commit is contained in:
parent
8ccc616134
commit
23b70fee0f
2 changed files with 7 additions and 0 deletions
|
@ -4,6 +4,8 @@
|
|||
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "cvar.h"
|
||||
#include "console.h"
|
||||
#include "qargs.h"
|
||||
|
|
|
@ -704,3 +704,8 @@ void VID_InitCvars ()
|
|||
void VID_SetCaption (char *text)
|
||||
{
|
||||
}
|
||||
|
||||
void outb(unsigned char value, unsigned short port)
|
||||
{
|
||||
__asm__ __volatile__ ("outb %b0,%w1" : : "a" (value) , "Nd" (port));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue