-
Notifications
You must be signed in to change notification settings - Fork 2
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
Won't work on iOS #5
Comments
Yes, I can |
For more clarity, I can select a file and for a split-second it shows my file and then says no file chosen |
Is there anything I can do? I was wanting to play on my gba tonight |
Sorry for not saying much, and thank you for being patient with me. I don't have an iPhone, so I don't think I'll ever be able to fix this issue. The fact that this doesn't seem to happen on all iPhones would make it even more difficult to solve. It would be very helpful to see what the Console says when the website fails. The problem with that is I don't think you can view the iPhone browser Console without connecting a Mac. I tried redirecting all Unless you have a Mac and are willing to help, I don't think I can fix this bug. I noticed that your comment said "pc" before you edited it. Do you have a PC? If you do, maybe you can work around this bug by copying the 4gs file to your pc, then using the website on your pc. |
No worries, I have a of that I'll try, I'll let you know the results |
@Thysbelon There's a couple options to get C log messages to the browser console that you might want to try: #include <emscripten.h>
emscripten_run_script("console.log('Hello from C!')"); or #include <emscripten.h>
EM_JS(void, call_console_log, (), {
console.log('Hello from C!');
});
int main() {
call_console_log();
return 0;
} |
Thank you for your help @euan-forrester. I have created a "debug mode" that redirects most console messages to html. Hopefully it helps. |
No problem! I hope it helps! I wonder if the issue will end up being the file I/O For reference, when I did something similar (for decrypting PSP saves -- the code for that is all in C) I did all the file I/O in javascript and just passed the C stuff an array of bytes: Then I wrote a wrapper in C that translated that array of bytes into what the rest of the C code was expecting: |
I put the .4gs file in and then it says no file chosen. I have tried safari, chrome, etc. idk what to do
The text was updated successfully, but these errors were encountered: