Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative path changes in lua during forms.button clickEvent #405

Open
GoogleCodeExporter opened this issue Jun 14, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Load a rom, load the attached sample script in the lua console
2. Watch the lua console output
3. Click the button in the lua form

What is the expected output? What do you see instead?
At the start of the script "lua_test.txt" is created next to the .lua file and 
filled with "Waiting...". The contents of the file are displayed on the console 
every frame as part of the frame loop. Clicking the button in the form should 
write "Success!" to the same file, but the relative path during the click event 
is different than during the frame loop causing a second "lua_test.txt" file to 
be created next to the bizhawk exe. 

If the path was the same, "Waiting..." would be replaced with "Success!", and 
this would be displayed on the lua console. 

Original issue reported on code.google.com by [email protected] on 7 Mar 2015 at 5:12

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant