mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 09:50:34 +00:00
hyper_main separate (no real need yet)
This commit is contained in:
parent
ae62073799
commit
a16d0fc0e0
@ -42,8 +42,7 @@ void moreStack() {
|
||||
|
||||
hr::hookset<bool(int argc, char** argv)> *hr::hooks_main;
|
||||
|
||||
#ifndef NOMAIN
|
||||
int main(int argc, char **argv) {
|
||||
int hyper_main(int argc, char **argv) {
|
||||
using namespace hr;
|
||||
#if ISWEB
|
||||
emscripten_get_commandline();
|
||||
@ -77,5 +76,10 @@ int main(int argc, char **argv) {
|
||||
profile_info();
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifndef NOMAIN
|
||||
int main(int argc, char **argv) {
|
||||
return hyper_main(argc, argv);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user