/*
	grpscrzm.c
*/

#include <ryosuke.h>
#include <usrlib.h>

extern	char	*EGB_work;

void	grp_scrZoom( int xrate, int yrate )
	{
	static struct { int x,y } resolution[] =
		{ { 640,400 },  { 640,200 }, { 640,480 }, { 640,400 },
		  { 256,256 },  { 256,256 }, { 256,240 }, { 256,240 },
		  { 360,240 },  { 320,240 }, { 320,240 },
		  { 640,480 },  { 640,400 }, { 720,480 },
		  { 320,480 },  { 320,480 }, { 512,480 }, { 512,480 } };
	int mode;
	EGB_displayStart( EGB_work, 2, xrate, yrate );
	mode = grp_getMode() - 1;
	EGB_displayStart( EGB_work, 3, resolution[mode].x, resolution[mode].y );
	}

/* end of grpscrzm.c */
