I couldn't find a game called The Detective. If your game is The Detective Chapters, Part 1, I did find some system requirements. If that's the correct game, make sure your computer meets these.
OS: WINDOWS® 7, 8, 8.1, 10 (64-BIT Required)
Processor: WINDOWS® 7, 8, 8.1, 10 (64-BIT Required)
Memory: 8 GB RAM
Graphics: Intel® Core™ i5-4460, 2.70GHz or AMD FX™-6300 or better
DirectX: Version 11
Storage: 30 GB available space
Sound Card: DirectSound compatible (must support DirectX® 9.0c or higher)
Additional Notes: Hardware specification target 1080P/30FPS. May require reduction in Texture Quality settings or turning Texture streaming to OFF due to high VRAM requirements.