[nostalgia/core] Add ticksMs() function

This commit is contained in:
2020-07-14 01:07:07 -05:00
parent af494072fb
commit 745ea4a0ed
10 changed files with 74 additions and 48 deletions
+5 -1
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2016 - 2019 gtalent2@gmail.com
* Copyright 2016 - 2020 gary@drinkingtea.net
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -41,4 +41,8 @@ ox::Error run(Context *ctx) {
return OxError(0);
}
uint64_t ticksMs() {
return SDL_GetTicks();;
}
}