sm501: fix screen redraw
commit543c4c94cf235d11315157bab25a24f7d9a48711
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 21 Jan 2011 16:56:32 +0000 (21 17:56 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 21 Jan 2011 16:56:32 +0000 (21 17:56 +0100)
tree2204870d38f6a322c25ee65fd27e129dfaf61195
parentb646968336d4180bdd7d2e24209708dcee6ba400
sm501: fix screen redraw

Due to signed/unsigned comparison, the dirty bits are never reset, and
the screen redrawn each time. Fix that by only using ram_addr_t types,
and looking for page_min != addr_max instead.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/sm501.c