Cannot register sm64 dyn constructor for some reason...

Fortune for rngxx's current commit: Curse − 凶
master
Avril 3 years ago
parent 86b855bda3
commit d38f0ebd62
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -0,0 +1,6 @@
#include <rngxx.hpp>
#include <rngxx/sm64.h>
#include <init.hpp>
RNGXX_APPLY_CTOR(rng, sm64, u64);

@ -5,8 +5,6 @@
#include <common.h>
#include <rngxx/sm64.h>
static u64 _sm64_next(u64& x)
{
u64 z = (x += 0x9e3779b97f4a7c15);

@ -20,7 +20,7 @@ static int next(rng_t* rng, const int* min, const int* max)
int main()
{
rng_dyn_ctor_ref rcref = rng_ctor_ref("crand");
rng_dyn_ctor_ref rcref = rng_ctor_ref("sm64");
rng_ctor_fn rctor = rng_ctor("crand");
rng_t* engine = NULL;

Loading…
Cancel
Save