Stefan Weil 40f08e87f6 qemu-timer: Fix limits for w32 mmtimer
timeSetEvent only accepts delays in the range which is returned by
timeGetDevCaps.

The lower limit is typically 1 (= 1 ms), so the constant value of 1
in the old code usually worked.

The upper limit can be as low as 10000 ms, so the latest changes in
QEMU's timer handling which introduced timeout values above that limit
could result in failures of timeSetEvent when the timer was re-armed.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2012-05-03 07:04:48 +02:00
2012-04-25 21:04:57 +04:00
2012-05-02 18:41:42 +02:00
2012-04-13 09:57:36 +01:00
2012-05-01 00:17:27 +02:00
2012-05-02 18:39:39 +02:00
2012-05-03 07:04:48 +02:00
2012-04-12 19:01:42 -03:00
2012-05-01 19:08:44 -03:00
2012-05-01 10:58:04 +00:00
2012-04-17 10:51:41 +02:00
2012-04-26 13:14:58 -05:00
2012-04-19 18:52:48 +00:00
2012-04-15 21:25:15 +02:00
2012-04-07 14:00:45 +00:00
2011-11-07 10:57:36 -06:00
…
…
…
2012-04-19 16:51:47 +02:00
…
2011-12-02 10:50:57 +00:00
2011-08-27 15:42:35 +00:00
2012-04-27 11:44:50 -03:00
2011-12-06 11:40:01 -02:00
…
…
…
2012-01-18 10:23:39 -02:00
2011-09-16 08:26:31 -05:00
2012-01-13 10:37:00 +00:00
…
2012-04-19 16:29:33 +02:00
…
2012-02-09 16:17:51 +01:00
…
2012-03-12 10:30:23 +00:00
…
2012-05-01 10:45:02 +00:00
2012-03-03 18:10:16 +00:00
2012-04-15 21:25:16 +02:00
2012-03-30 08:14:11 -05:00
2012-01-10 09:36:43 +01:00
2012-03-07 13:03:51 +00:00
2012-04-01 20:30:23 +02:00
2012-03-14 22:20:27 +01:00
2012-03-14 22:20:27 +01:00
…
…
2012-03-15 10:39:52 -03:00
2011-12-02 10:50:57 +00:00
2012-03-14 22:20:27 +01:00
2012-03-14 22:20:27 +01:00
2012-04-09 14:35:25 -03:00
2011-12-02 10:50:57 +00:00
2011-08-27 15:42:35 +00:00
2011-08-27 15:42:35 +00:00
…
2011-10-16 13:13:05 +02:00
2012-03-19 15:17:21 +02:00
2012-01-13 10:55:56 -06:00
2011-08-04 15:51:22 +02:00
2012-04-12 19:01:41 -03:00
2012-04-12 19:01:41 -03:00
2011-12-09 11:25:22 +00:00
2011-12-02 10:50:57 +00:00
2012-03-14 22:20:26 +01:00
…
2012-04-26 13:14:58 -05:00
2012-03-15 10:39:52 -03:00
2012-03-15 10:39:52 -03:00
2011-08-27 15:42:35 +00:00
2012-02-15 09:39:21 -06:00
2012-03-27 09:15:28 -03:00
2012-02-24 13:36:04 -06:00
2012-04-19 17:19:37 +02:00
2012-03-16 01:04:51 +02:00
2012-03-16 01:04:51 +02:00
2012-02-17 08:33:32 -06:00
2012-02-17 08:33:32 -06:00
2012-04-26 13:14:58 -05:00
2011-12-22 11:53:58 +01:00
…
2012-01-13 10:55:56 -06:00
…
2012-03-14 22:20:27 +01:00
2012-01-10 18:23:58 +01:00
2012-04-07 14:00:45 +00:00
2012-01-10 18:23:58 +01:00
…
…
2012-02-03 10:41:08 -06:00
2012-03-02 11:56:38 +00:00
2012-05-01 00:17:27 +02:00
2012-04-19 16:29:33 +02:00
2012-04-19 17:19:37 +02:00
2012-04-15 21:25:16 +02:00
2012-04-07 14:00:45 +00:00
2012-05-01 00:17:27 +02:00
2011-12-15 09:20:50 -06:00
2011-12-06 10:07:04 +00:00
2012-04-26 13:14:58 -05:00
…
2012-04-05 14:54:40 +02:00
2012-04-05 14:54:40 +02:00
…
…
…
…
…
…
2012-04-24 09:50:31 -05:00
…
2011-12-11 17:50:43 -06:00
…
…
2011-10-01 09:31:08 +00:00
2012-03-14 22:20:27 +01:00
2011-08-27 15:42:35 +00:00
2012-03-15 10:39:52 -03:00
2011-10-31 21:52:17 +01:00
…
2012-05-02 07:32:09 -05:00
…
2011-08-27 15:42:35 +00:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
S
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme GPL-2.0
708 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 82.3%
C++ 6.9%
Python 3.5%
Dylan 2.7%
Shell 1.5%
Other 2.9%