aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/buffer_cache/buffer_cache.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-12-03 22:50:16 -0500
committerLioncash <mathew1800@gmail.com>2018-12-04 02:20:47 -0500
commit59a4ed0d2477999e979373eb821f024bf0d9d4c6 (patch)
tree837d0d14341f50cda47b73d5128104980eb1afbc /src/video_core/buffer_cache/buffer_cache.h
parent9ca1a2dcbccab5c775890adb1e22ccd40a115979 (diff)
kernel/object: Amend handle types to distinguish between readable and writable events
Two kernel object should absolutely never have the same handle ID type. This can cause incorrect behavior when it comes to retrieving object types from the handle table. In this case it allows converting a WritableEvent into a ReadableEvent and vice-versa, which is undefined behavior, since the object types are not the same. This also corrects ClearEvent() to check both kernel types like the kernel itself does.
Diffstat (limited to 'src/video_core/buffer_cache/buffer_cache.h')
0 files changed, 0 insertions, 0 deletions