Newer
Older
Atmosphere / stratosphere / loader / source / ldr_random.hpp
@Michael Scire Michael Scire on 24 Apr 2018 182 bytes Loader: Implement RandomUtils (for ASLR)
#pragma once
#include <switch.h>

class RandomUtils {
    public:
        static u32 GetNext();
        static u32 GetRandomU32(u32 max);
        static u32 GetRandomU64(u64 max);
};