Fixed an incompatibilty with gfx2.cfg from DOS version.
Fixed the invalid shades in the current version of gfx2.cfg : Somehow it was filled with multiple occurences of color 0(black), with a step of 0. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@198 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
		
							parent
							
								
									7c1ecd4bb5
								
							
						
					
					
						commit
						0705aae104
					
				
							
								
								
									
										2
									
								
								init.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								init.c
									
									
									
									
									
								
							@ -1781,7 +1781,7 @@ int Charger_CFG(int Tout_charger)
 | 
			
		||||
        }
 | 
			
		||||
        break;
 | 
			
		||||
      case CHUNK_MODES_VIDEO: // Modes vidéo
 | 
			
		||||
        for (Indice=1; Indice<=NB_MODES_VIDEO; Indice++)
 | 
			
		||||
        for (Indice=0; Indice<(Chunk.Taille/sizeof(CFG_Mode_video)); Indice++)
 | 
			
		||||
        {
 | 
			
		||||
          if (!read_byte(Handle, &CFG_Mode_video.Etat) ||
 | 
			
		||||
              !read_word_le(Handle, &CFG_Mode_video.Largeur) ||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user