summaryrefslogtreecommitdiff
path: root/src/pc80
diff options
context:
space:
mode:
Diffstat (limited to 'src/pc80')
-rw-r--r--src/pc80/vgabios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pc80/vgabios.c b/src/pc80/vgabios.c
index 9aebf1d35c..e381f91055 100644
--- a/src/pc80/vgabios.c
+++ b/src/pc80/vgabios.c
@@ -188,7 +188,7 @@ do_vgabios(void)
printk_debug("rom base, size: %x\n", rom);
#endif
buf = (unsigned char *) rom;
- if ((buf[0] == 0x55) && (buf[1] = 0xaa)) {
+ if ((buf[0] == 0x55) && (buf[1] == 0xaa)) {
memcpy((void *) 0xc0000, buf, size);
for(i = 0; i < 16; i++)