From 27f4703a9a2ece6613e6c6cd8e2956da48f52c46 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Wed, 27 Nov 2024 00:15:59 -0600 Subject: [PATCH] [teagba] Suppress warnings for unsafe buffers --- deps/teagba/include/teagba/registers.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deps/teagba/include/teagba/registers.hpp b/deps/teagba/include/teagba/registers.hpp index efe3691b..2311a722 100644 --- a/deps/teagba/include/teagba/registers.hpp +++ b/deps/teagba/include/teagba/registers.hpp @@ -6,6 +6,8 @@ #include "addresses.hpp" +OX_ALLOW_UNSAFE_BUFFERS_BEGIN + namespace teagba { inline auto bgSetSbb(volatile BgCtl &bgCtl, unsigned sbb) noexcept { @@ -53,3 +55,5 @@ constexpr void iterateBgCtl(auto cb) noexcept { } } + +OX_ALLOW_UNSAFE_BUFFERS_END