get_asset used on IOS too

This commit is contained in:
Zeno Rogue 2021-06-03 12:26:36 +02:00
parent 196d0dcb4c
commit 0e0f773560
1 changed files with 1 additions and 1 deletions

View File

@ -942,7 +942,7 @@ EX namespace reg3 {
void load_ruleset(string fname) {
string buf;
#if ISANDROID
#if ISANDROID || ISIOS
buf = get_asset(fname);
#else
FILE *f = fopen(fname.c_str(), "rb");