TIC-80 icon indicating copy to clipboard operation
TIC-80 copied to clipboard

WASM: can we support remap callback on map?

Open joshgoebel opened this issue 2 years ago • 2 comments

Reference: #1772

This one may be over my head. WASM3 author thinks technically yes, but it sounds like a chore - and WASM3 doesn't provide the needed support pieces yet. Something we should look into for the future.

joshgoebel avatar Feb 23 '22 17:02 joshgoebel

Opened wasm3/wasm3#448 to add the required underlying functionality, but Wasm3 development seems to be slow, so I don't know when this will be available upstream. Will try implementing the TIC-80 side against my w3 fork.

soxfox42 avatar Sep 26 '23 10:09 soxfox42

Turns out the functionality was added already - in 2021, before this issue was created. Odd that the author didn't think it was supported. I'll try to implement remap when I get a chance.

Update: The old feature is getting a function by raw index, not table index. PR reopened over there, will eventually get around to implementing TIC-80 feature.

soxfox42 avatar Oct 09 '23 21:10 soxfox42