There was an error fetching the commit references. Please try again later.
service/nvflinger,service/vi: Handle failure cases with exposed API
Converts many of the Find* functions to return a std::optional<T> as opposed to returning the raw return values directly. This allows removing a few assertions and handles error cases like the service itself does.
Showing
- src/core/hle/service/am/am.cpp 4 additions, 3 deletionssrc/core/hle/service/am/am.cpp
- src/core/hle/service/nvflinger/nvflinger.cpp 63 additions, 27 deletionssrc/core/hle/service/nvflinger/nvflinger.cpp
- src/core/hle/service/nvflinger/nvflinger.h 16 additions, 7 deletionssrc/core/hle/service/nvflinger/nvflinger.h
- src/core/hle/service/vi/vi.cpp 50 additions, 10 deletionssrc/core/hle/service/vi/vi.cpp
Loading
Please register or sign in to comment