X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/blobdiff_plain/e20a2581da67104e8fb26ce5c4a8e620d9c1ca75..6f214ac0ef5899987197c2e4c9baa0b51a04c197:/src/sim/g_bigmap.c diff --git a/src/sim/g_bigmap.c b/src/sim/g_bigmap.c index 7e99174..55bb06f 100644 --- a/src/sim/g_bigmap.c +++ b/src/sim/g_bigmap.c @@ -63,14 +63,15 @@ int dynamicFilter(int c, int r); -int WireDrawBeegMapRect(SimView *view, short x, short y, short w, short h); +void drawBeegMaps() { sim_update_editors(); } +void MemDrawBeegMapRect(SimView *view, int x, int y, int w, int h) { int lineBytes = view->line_bytes; @@ -192,6 +193,8 @@ MemDrawBeegMapRect(SimView *view, int x, int y, int w, int h) case 24: case 32: ROW16_32(); + break; + default: /* XXX: handle different depths */ break; @@ -262,6 +265,7 @@ MemDrawBeegMapRect(SimView *view, int x, int y, int w, int h) } +void WireDrawBeegMapRect(SimView *view, short x, short y, short w, short h) { unsigned short *map;