diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-07-19 19:22:27 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-08-21 18:14:23 +0200 |
commit | 86d8563314c615d60c7b59748467ffb71904b0c4 (patch) | |
tree | f954328c9299fe8c241da7007259a98e7fdd451a /src/video_core/buffer_cache/map_interval.h | |
parent | Video_Core: Implement a new Buffer Cache (diff) | |
download | yuzu-86d8563314c615d60c7b59748467ffb71904b0c4.tar yuzu-86d8563314c615d60c7b59748467ffb71904b0c4.tar.gz yuzu-86d8563314c615d60c7b59748467ffb71904b0c4.tar.bz2 yuzu-86d8563314c615d60c7b59748467ffb71904b0c4.tar.lz yuzu-86d8563314c615d60c7b59748467ffb71904b0c4.tar.xz yuzu-86d8563314c615d60c7b59748467ffb71904b0c4.tar.zst yuzu-86d8563314c615d60c7b59748467ffb71904b0c4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/buffer_cache/map_interval.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/buffer_cache/map_interval.h b/src/video_core/buffer_cache/map_interval.h index 652a35dcd..c1cd52ca4 100644 --- a/src/video_core/buffer_cache/map_interval.h +++ b/src/video_core/buffer_cache/map_interval.h @@ -14,7 +14,7 @@ struct MapInterval { MapInterval(const CacheAddr start, const CacheAddr end) : start{start}, end{end} {} CacheAddr start; CacheAddr end; - bool IsInside(const CacheAddr other_start, const CacheAddr other_end) { + bool IsInside(const CacheAddr other_start, const CacheAddr other_end) const { return (start <= other_start && other_end <= end); } |