Skip to content

[LUA] detect difference between a game start and restart? #161

Closed Answered by cuavas
Jakobud asked this question in Q&A
Discussion options

You must be logged in to vote

There currently isn’t a way to get a callback on start. emu.register_start was named misleadingly – it was called on reset. It’s something I’d like to add, but I don’t want to go changing the callbacks without thinking it through properly – I don’t want to create churn, particularly when it might affect core classes like the running machine and the externally visible Lua API.

Replies: 5 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@Jakobud
Comment options

@Jakobud
Comment options

Comment options

You must be logged in to vote
1 reply
@Jakobud
Comment options

Comment options

You must be logged in to vote
1 reply
@Jakobud
Comment options

Answer selected by Jakobud
Comment options

You must be logged in to vote
1 reply
@Jakobud
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants