diff options
author | Merry <[email protected]> | 2023-04-27 22:20:30 +0100 |
---|---|---|
committer | Merry <[email protected]> | 2023-04-27 22:20:30 +0100 |
commit | 720d6bbcd87a8aecf628ab26a55ac7b17f7325df (patch) | |
tree | 2e2b3c9929bdaa6f013cdec6626d88c479eb5623 /tests | |
parent | b65b07d566d032339e85d67ecf094a489b05604d (diff) | |
download | dynarmic-720d6bbcd87a8aecf628ab26a55ac7b17f7325df.tar.gz dynarmic-720d6bbcd87a8aecf628ab26a55ac7b17f7325df.zip |
Squashed 'externals/oaknut/' changes from 816481f10..c24f918e5
c24f918e5 oaknut: 1.1.6
3a70cd40a oaknut: Run clang-format
dc54784b8 oaknut: Add support for iOS memory protection.
14207278a oaknut: 1.1.5
841f9b693 oaknut: throw OaknutException instead of plain C string
git-subtree-dir: externals/oaknut
git-subtree-split: c24f918e52e629fc315c6e4bca4ea62def8b55e8
Diffstat (limited to 'tests')
-rw-r--r-- | tests/basic.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/basic.cpp b/tests/basic.cpp index e1d3c5e1..7b401f60 100644 --- a/tests/basic.cpp +++ b/tests/basic.cpp @@ -187,9 +187,8 @@ TEST_CASE("MOVP2R") { CodeBlock mem{4096}; - for (int i = 0; i < 0x200'0000; i++) - { - const std::int64_t diff = RandInt<std::int64_t>(std::numeric_limits<std::int64_t>::min(), + for (int i = 0; i < 0x200'0000; i++) { + const std::int64_t diff = RandInt<std::int64_t>(std::numeric_limits<std::int64_t>::min(), std::numeric_limits<std::int64_t>::max()); const std::intptr_t value = reinterpret_cast<std::intptr_t>(mem.ptr()) + diff; |