16
Scripting / Re: A plugin to choose and run a random ROM...
« on: November 03, 2020, 11:43:06 AM »
And looking closer, I see that both versions you posted with the line 'fe.signal("random_game") & fe.signal("select")' throw this error:
And they throw the error over and over again, without exiting, freezing the system, so the recursion issue is still there. Odd that that would work in Windows but not Linux.
What is the & supposed to do here?
"fe.signal("random_game") & fe.signal("select")"
No biggie, all working fine with the version that listens for one of the "custom" signals, just curious.
Code: [Select]
LOCALS
[sig] "random_game"
[this] TABLE
Script Error in signal handler: random_press - bitwise op between 'null' and 'null'
AN ERROR HAS OCCURED [bitwise op between 'null' and 'null']
CALLSTACK
*FUNCTION [random_press()] /home/wrybread/.attract/plugins/Random ROM2.nut line [9]
And they throw the error over and over again, without exiting, freezing the system, so the recursion issue is still there. Odd that that would work in Windows but not Linux.
What is the & supposed to do here?
"fe.signal("random_game") & fe.signal("select")"
No biggie, all working fine with the version that listens for one of the "custom" signals, just curious.