HIDDEN int deb_view(FBIO *ifp, int xcenter, int ycenter, int xzoom, int yzoom) { FB_CK_FBIO(ifp); fb_log( "fb_view( 0x%lx,%4d,%4d,%4d,%4d )\n", (unsigned long)ifp, xcenter, ycenter, xzoom, yzoom ); fb_sim_view( ifp, xcenter, ycenter, xzoom, yzoom ); return 0; }
HIDDEN int mem_view(FBIO *ifp, int xcenter, int ycenter, int xzoom, int yzoom) { fb_sim_view(ifp, xcenter, ycenter, xzoom, yzoom); if (MI(ifp)->write_thru) { return fb_view(MI(ifp)->fbp, xcenter, ycenter, xzoom, yzoom); } return 0; }