What is って doing in this sentence?


From Noir, Episode 2 (anime).

I don't get what the って is doing in this sentence. For context, the father
came home early from work. He quickly answers his wife in the first sentence
then in the second sentence is asking his son this:

> そうか。そうだアンリ、欲しがってたゲーム、明日パパと買いに行こうか？




It is the `～て` form of `ほしがる` which means "to want".

> ほしがってたゲーム → The game that I'd been wanting

xref [this post](https://japanese.stackexchange.com/q/3839/78).




It is the `～て` form of `ほしがる` which means "to want".

> ほしがってたゲーム → The game that I'd been wanting

xref [this post](https://japanese.stackexchange.com/q/3839/78).

