summaryrefslogblamecommitdiff
path: root/procyon/source/evt/jmp.c
blob: 5a93491127f863c203dcec600e40c4814ca1383f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                          
#include <acm/evt.h>
#include <acm/info.h>

#include <stdint.h>

bool acm_jmp(uint_least64_t const _sys) {
	acm_pldat pldat = acm_dat.pldat;
	if (acm_sysdist(_sys) > acm_jmplen(&pldat.ship)) {
		return true;
	}
	acm_dat.pldat = pldat;
	return false;
}