aboutsummaryrefslogtreecommitdiff
path: root/src/common/random.h
blob: 83210f6dc23ab8de435f093489e21407ef7e6861 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once

#include <random>
#include "common/common_types.h"

namespace Common::Random {
    [[nodiscard]] u32 Random32(u32 seed) noexcept;
    [[nodiscard]] u64 Random64(u64 seed) noexcept;
    [[nodiscard]] std::mt19937 GetMT19937() noexcept;
}