Skip to content

Commit ea9b8d8

Browse files
committed
Fixing emscripten docs
1 parent 6689246 commit ea9b8d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,4 +302,6 @@ Download and install Emscripten:
302302
http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html
303303

304304
From the root directory, run:
305+
```c
305306
emcc -O3 emscripten/crn.cpp -I./inc -s EXPORTED_FUNCTIONS="['_malloc', '_free', '_crn_get_width', '_crn_get_height', '_crn_get_levels', '_crn_get_dxt_format', '_crn_get_bytes_per_block', '_crn_get_uncompressed_size', '_crn_decompress']" -s NO_EXIT_RUNTIME=1 -s NO_FILESYSTEM=1 -s ELIMINATE_DUPLICATE_FUNCTIONS=1 -s ALLOW_MEMORY_GROWTH=1 --memory-init-file 0 -o crunch.js
307+
```

0 commit comments

Comments
 (0)