From 8adbc566c9f2924c97a0953682ceb6ab57b78b47 Mon Sep 17 00:00:00 2001 From: bellard Date: Mon, 10 Jan 2005 23:19:18 +0000 Subject: typo git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1211 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/openpic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/openpic.c') diff --git a/hw/openpic.c b/hw/openpic.c index d193cfe6f2..ad9db7b36f 100644 --- a/hw/openpic.c +++ b/hw/openpic.c @@ -629,7 +629,7 @@ static void openpic_timer_write (void *opaque, uint32_t addr, uint32_t val) break; case 0x10: /* TIBC */ if ((opp->timers[idx].ticc & 0x80000000) != 0 && - (val & 0x800000000) == 0 && + (val & 0x80000000) == 0 && (opp->timers[idx].tibc & 0x80000000) != 0) opp->timers[idx].ticc &= ~0x80000000; opp->timers[idx].tibc = val; -- cgit v1.2.3