[PATCH v3 1/1] user.exe16: Correctly detect and assign an int resource