The Thirteenth Floor (1999)

A computer scientist running a virtual reality simulation of 1937 becomes the primary suspect when his colleague and mentor is murdered.