mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 01:08:15 +01:00
31 lines
590 B
C++
31 lines
590 B
C++
#include <ion.h>
|
|
#include "display.h"
|
|
#include "events_keyboard.h"
|
|
#include "../../../apps/global_preferences.h"
|
|
extern "C" {
|
|
#include <SDL/SDL.h>
|
|
}
|
|
|
|
extern "C" {
|
|
const char * IonSoftwareVersion();
|
|
const char * IonPatchLevel();
|
|
}
|
|
|
|
const char * IonSoftwareVersion() { return Ion::softwareVersion(); }
|
|
const char * IonPatchLevel() { return Ion::patchLevel(); }
|
|
|
|
int main(int argc, char * argv[]) {
|
|
Ion::Display::Emscripten::init();
|
|
Ion::Events::Emscripten::init();
|
|
|
|
ion_main(argc, argv);
|
|
return 0;
|
|
}
|
|
|
|
void Ion::msleep(long ms) {
|
|
}
|
|
|
|
uint32_t Ion::millis() {
|
|
return SDL_GetTicks();
|
|
}
|