mirror of
https://github.com/jfdelnero/HxCFloppyEmulator.git
synced 2026-07-27 19:56:23 +00:00
Don't try to init the hxc usb when running in a browser.
This commit is contained in:
@@ -990,7 +990,7 @@ Main_Window::Main_Window(int argc, char **argv)
|
||||
guicontext->hxcfe=hxcfe_init();
|
||||
hxcfe_setOutputFunc(guicontext->hxcfe,CUI_affiche);
|
||||
|
||||
#if !defined(STANDALONEFSBROWSER) && !defined(HXC_STREAMER_MODE)
|
||||
#if !defined(STANDALONEFSBROWSER) && !defined(HXC_STREAMER_MODE) && !defined(__EMSCRIPTEN__)
|
||||
guicontext->usbhxcfe = libusbhxcfe_init(guicontext->hxcfe);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user