Previous 15994 Revisions Next

r1627 Monday 28th January, 2008 at 18:41:13 UTC by Dirk Best
[TI85] Fixed another u7 regression
[src/mess/video]ti85.c

src/mess/video/ti85.c
r1626r1627
118118      ti_screen_y_size = TI81_SCREEN_Y_SIZE;
119119      ti_number_of_frames = TI81_NUMBER_OF_FRAMES;
120120   }
121   if (!strncmp(machine->gamedrv->name, "ti85", 4))
121   else if (!strncmp(machine->gamedrv->name, "ti85", 4))
122122   {
123123      ti_video_memory_size = TI85_VIDEO_MEMORY_SIZE;
124124      ti_screen_x_size = TI85_SCREEN_X_SIZE;
125125      ti_screen_y_size = TI85_SCREEN_Y_SIZE;
126126      ti_number_of_frames = TI85_NUMBER_OF_FRAMES;
127127   }
128   if (!strncmp(machine->gamedrv->name, "ti86", 4))
128   else if (!strncmp(machine->gamedrv->name, "ti86", 4))
129129   {
130130      ti_video_memory_size = TI86_VIDEO_MEMORY_SIZE;
131131      ti_screen_x_size = TI86_SCREEN_X_SIZE;
132132      ti_screen_y_size = TI86_SCREEN_Y_SIZE;
133133      ti_number_of_frames = TI86_NUMBER_OF_FRAMES;
134134   }
135   else
136   {
137      /* don't allocate memory for the others drivers */
138      return;
139   }
135140
136141   ti85_frames = (UINT8 *) auto_malloc(ti_number_of_frames*ti_video_memory_size*sizeof (UINT8));
137142   memset (ti85_frames, 0, sizeof(UINT8)*ti_number_of_frames*ti_video_memory_size);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team