mirror of
				https://github.com/davidgiven/fluxengine.git
				synced 2025-10-24 11:11:02 -07:00 
			
		
		
		
	Eliminate the broken tpi system for a simple drive/format type field.
This commit is contained in:
		| @@ -42,8 +42,9 @@ public: | ||||
|             (_header.file_id[2] != 'P')) | ||||
|             error("input not a SCP file"); | ||||
|  | ||||
|         int tpi = (_header.flags & SCP_FLAG_96TPI) ? 96 : 48; | ||||
|         _extraConfig.mutable_drive()->set_tpi(tpi); | ||||
|         _extraConfig.mutable_drive()->set_drive_type( | ||||
|             (_header.flags & SCP_FLAG_96TPI) ? DRIVETYPE_80TRACK | ||||
|                                              : DRIVETYPE_40TRACK); | ||||
|  | ||||
|         _resolution = 25 * (_header.resolution + 1); | ||||
|         int startSide = (_header.heads == 2) ? 1 : 0; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user