Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upEmulator freezes without access to Internet. #71
Closed
Comments
This comment has been minimized.
This comment has been minimized.
The issue is known and will be changed eventually. Will keep this up anyways. |
rkitover
added a commit
that referenced
this issue
Feb 12, 2017
Remove the "check for updates" and "Update ROM database" menu entries, as well as the automatic update checking and all supporting code. This fixes the issue with the emulator hanging without access to the internet. Updating code will be reimplemented in the future using something like Sparkle. wxHTTP does not support redirects or https so is pretty much useless now. Also update the About box to bump copyright year to 2017 and change my name to "rkitover", which is what I use on github, and mention other contributors.
This comment has been minimized.
This comment has been minimized.
Fixed in a493e0f. We need to reimplement the executable updating and ROM database updating using something like Sparkle at some point. |
This comment has been minimized.
This comment has been minimized.
@edorax btw, on Ubuntu you can use: ./installdeps win32 to install all MXE deps automatically. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please fill out this form:
Expected behavior
It doesn't freeze.
Actual behavior
If there's no access to the Internet, the emulator freezes after the main window appears at startup.
Steps to reproduce the behavior
On Windows:
Disable the NIC or simple unplug the wire, then run the emulator.
void GameArea::OnIdle(wxIdleEvent& event)
{
...
// Check for online updates
if (gopts.onlineupdates > 0 && !emusys) {
// stuck here
-> wxGetApp().frame->CheckForUpdates();
}
...
}
Build details
https://github.com/visualboyadvance-m/mxe
Installed package needed by vba-m in MXE: wxwidgets, sdl2 he sfml, etc.
Preppend the directory of usr/bin of MXE to the PATH env var.
git clone https://github.com/visualboyadvance-m/visualboyadvance-m.git
unset
env | grep -vP '^\t' | grep -vi '^EDITOR=\|^HOME=\|^LANG=\|MXE\|^PATH=' | grep -vi 'PKG_CONFIG\|PROXY\|^PS1=\|^TERM=' | cut -d '=' -f1 | tr '\n' ' '
BUILD_DIR=build-vbam-mxe
rm -rf ${BUILD_DIR}
&& mkdir ${BUILD_DIR}
&& cd ${BUILD_DIR}
&& i686-w64-mingw32.static-cmake
../vba-m/visualboyadvance-m
make -C ${BUILD_DIR}
Operating System (Windows, Mac, Linux, etc.):
Host OS: Ubuntu 16.04 LTS (64bit)
Target OS: Windows 7 (64bit)
Interface (wx, SDL, default is wx):
Is wx.
Version of code (pre-built binary version, or commit ref, or just "master"):
master
Any other relevant build information:
If this is e.g. a joystick or video issue, then the relevant hardware information: