Comments (8)
Does this happen consistently?
Please copy the version from Help
> About...
, obviously you didn't mean to write 2.5.2.
from bizhawk.
Yup, always. Save states made using the UI works.
You're right, i'm on 2.9.2, last version from master branch (rev a803407)
from bizhawk.
Is this savestate possibly occurring in a separate thread? The error seems to indicate you are in a separate thread and it's when the main thread has the Encore OpenGL context active (and therefore other threads cannot make it active). You should not be calling SaveState outside of the main thread (this is more an OpenGL limitation if anything; even then savestates APIs (along with any other API touching emulator state) should not be considered safe outside of the main thread).
from bizhawk.
Hi,
Yep, i'm on a separate thread. I'm actually calling the SaveState method every 10 minutes to make an autosave. I did not encounter any issue with NDS or GBA emulation, but I assume that it does not use OpenGL
Just to be sure, there is no workaround ?
from bizhawk.
Doing savestates with other cores have very high risks of causing crashes (especially any waterbox cores like NDS due to non-thread safe code in its handling) and whatever savestates produced would very likely be garbage / not load correctly. Your code is fundamentally wrong here.
from bizhawk.
Can't we make the call on the correct thread regardless of where the API was called from?
from bizhawk.
The API user could do that with the WinForms BeginInvoke/Invoke API.
from bizhawk.
Good to know. Thanks a lot @CasualPokePlayer, @YoshiRulz !
If API methods are not threadsafe, I close the issue and will work with BeginInvoke and Invoke methods
from bizhawk.
Related Issues (20)
- Unsetting the WRAM pattern for NesHawk was broken by previous fix
- Discohawk About Page has Google Code link HOT 1
- Output Lua annotations for editors
- mGBA can sometimes reject its own savestates (AVI2GBA)
- Weird mem callback issue with high address locations under genplus-gx HOT 10
- [PSX][Octoshock+Nymashock][Gex - Enter the Gecko] BizHawk 2.9.1 locks up when attempting to load Gex - Enter the Gecko for PSX for both included cores HOT 6
- Completely delete Citra? HOT 2
- [Core Port Req.] 4DO / Opera
- Freezing During Sonic Dark Brotherhood HOT 2
- Loading a tasproj does not dispose the rewind buffer
- Ares64 does not have the analog stick controls unlike Mupen64Plus HOT 3
- Paper Mario 64 SaveRAM from Mupen64Plus is completely incompitable with Ares64 HOT 4
- STROOP not working. HOT 1
- Ares upscaling is present in upstream, but not BizHawk HOT 1
- Add GLideN64 for Ares64 HOT 2
- SegaCD: Make My Video Kris Kross - Lags after 1 song
- Bizhawk Bug Filers need approved set of "Upstream" emulators HOT 6
- [Question] SMW Debug Mode HOT 1
- Update Angrylion plugin to Angrylion-Plus for Ares64 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bizhawk.