mirror of
				https://github.com/davidgiven/fluxengine.git
				synced 2025-10-24 11:11:02 -07:00 
			
		
		
		
	Add read support for A2R v2 files.
This commit is contained in:
		| @@ -42,7 +42,9 @@ public: | ||||
|             (_header.file_id[2] != 'P')) | ||||
|             Error() << "input not a SCP file"; | ||||
|  | ||||
|         ::config.set_tpi((_header.flags & SCP_FLAG_96TPI) ? 96 : 48); | ||||
| 		int tpi = (_header.flags & SCP_FLAG_96TPI) ? 96 : 48; | ||||
|         ::config.set_tpi(tpi); | ||||
| 		::config.mutable_drive()->set_tpi(tpi); | ||||
|  | ||||
|         _resolution = 25 * (_header.resolution + 1); | ||||
|         int startSide = (_header.heads == 2) ? 1 : 0; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user