Browse Source
service: vi: Retrieve vsync event once per display
service: vi: Retrieve vsync event once per display
The display vsync event can only be retrieved once per display. Returns VI::ResultPermissionDenied if we attempt to retrieve the vsync event for the same display. Prevents games such as .hack//G.U. Last Recode from consuming all the handles in the handle table by spamming vsync event retrievals and allows it to go in game.nce_cpp
5 changed files with 42 additions and 14 deletions
-
7src/core/hle/service/nvflinger/nvflinger.cpp
-
6src/core/hle/service/nvflinger/nvflinger.h
-
15src/core/hle/service/vi/display/vi_display.cpp
-
14src/core/hle/service/vi/display/vi_display.h
-
14src/core/hle/service/vi/vi.cpp
Write
Preview
Loading…
Cancel
Save
Reference in new issue