Don't allow zero in PRV for mark channels
As the zero value is not allowed to reach the mark channels, there is no need to allow it in the PRV end.
This commit is contained in:
		
							parent
							
								
									e31f0f1ded
								
							
						
					
					
						commit
						49cecb798a
					
				| @ -431,8 +431,7 @@ connect_thread_prv(struct emu *emu, struct thread *sth, struct prv *prv) | ||||
| 		 * trace for the current thread */ | ||||
| 		struct chan *out = track_get_output(track); | ||||
| 		long row = sth->gindex; | ||||
| 		/* Allow zero value and skip duplicated nulls */ | ||||
| 		long flags = PRV_ZERO | PRV_SKIPDUPNULL; | ||||
| 		long flags = PRV_SKIPDUPNULL; | ||||
| 		long prvtype = type->prvtype; | ||||
| 		if (prv_register(prv, row, prvtype, &emu->bay, out, flags)) { | ||||
| 			err("prv_register failed"); | ||||
| @ -547,8 +546,7 @@ connect_cpu_prv(struct emu *emu, struct cpu *scpu, struct prv *prv) | ||||
| 		 * trace for the current thread */ | ||||
| 		struct chan *out = track_get_output(track); | ||||
| 		long row = scpu->gindex; | ||||
| 		/* Allow zero value and skip duplicated nulls */ | ||||
| 		long flags = PRV_ZERO | PRV_SKIPDUPNULL; | ||||
| 		long flags = PRV_SKIPDUPNULL; | ||||
| 		long prvtype = type->prvtype; | ||||
| 		if (prv_register(prv, row, prvtype, &emu->bay, out, flags)) { | ||||
| 			err("prv_register failed"); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user