mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
get_asset used on IOS too
This commit is contained in:
parent
196d0dcb4c
commit
0e0f773560
2
reg3.cpp
2
reg3.cpp
@ -942,7 +942,7 @@ EX namespace reg3 {
|
|||||||
|
|
||||||
void load_ruleset(string fname) {
|
void load_ruleset(string fname) {
|
||||||
string buf;
|
string buf;
|
||||||
#if ISANDROID
|
#if ISANDROID || ISIOS
|
||||||
buf = get_asset(fname);
|
buf = get_asset(fname);
|
||||||
#else
|
#else
|
||||||
FILE *f = fopen(fname.c_str(), "rb");
|
FILE *f = fopen(fname.c_str(), "rb");
|
||||||
|
Loading…
Reference in New Issue
Block a user