-
Notifications
You must be signed in to change notification settings - Fork 67
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
Reset issues #59
Comments
I cannot reproduce this, have you updated since yesterday there was a bug causing a random memory write that could be corrupting things. I used a regular msx game(aleste 1) and set it to an invalid mapper and then reset and it still would not load meaning that the custom mapper stuck even after reset.(It loads on auto mapper so I know its not a broken game) There was a buffer overflow, it corrupts whatever variable is placed after the array in my case it was the framebuffer pointer so it crashed on first render and was easy to catch. |
I updated the core, same as before on windows. I tried on my android phone and indeed the sound still works on restart for MSX2 games. The cart mapper core option was applied too but not in the case of using a opt override. |
mapper_auto is checked in retro_load_game I dont know if game specific config is applied before or after game load so mapper_auto may be using an outdated value. Are you running the game from a playlist, cmd/terminal or from the file browser? |
I do playlist or file browser usually. |
MSX games audio doesn't stop on restart if I have "Pause when menu activated" set to OFF. (I usually have it ON) (on win7) |
I have none of these issues, audio and sega sg1000 reboot are fine too. Any and all information would be helpful. I am on a Mac with RetroArch 1.6.7 The only difference is Windows as far as I can see, have you tried all the audio drivers? |
Oh I was using direct sound and, now that I changed it to xaudio, the sound still works after a reset. About Sega I always get a black screen on reset. Something particular with Sega machines: I had to enable one by default here. |
I think I got around those problems. (except for direct sound I'll just leave aside) |
Just noticed something now, when I reset The Castle on SG1000 I got "Castle, The (Japan).sram" that gets created on the root on my hdd. |
No, I dont see a save file at all. I will try to fix this today. |
void *retro_get_memory_data(unsigned id){return NULL;} You need to implement those and stub out the core saving OR use RETRO_ENVIRONMENT_GET_SAVE_DIR to get a hint of the dir you should use. |
Ok I fixed an undefined variable with @Tatsuya79 fix and set quicksave directory, I still dont get a .sram file though. |
I just set quicksave dir to RETRO_ENVIRONMENT_GET_SAVE_DIR. So for a fresh test could you delete the file and test it again with the new core. |
Used boardSetDirectory to set the save path, I now have a save file in my save path. The root directory issue should be fixed. |
What happens now is: I'm using that game as it's the only one I found that leaves a sram file. |
I think that the core is not shut down properly, so a save is only created on reset, but that game actually has its own mapper so it may be the only sg1000 game that uses sram. |
When doing a reset from Quickmenu:
-Sega games stay on a black screen
-MSX games have no sound
-Coleco are fine
Also special mappers are lost.
I have an Aleste 2 cart made from the floppies version and it needs ASCII16 mapper to run.
I saved that as game opt override but it's lost on reset (it shows a blinking blue screen, the same as when the mapper is wrong).
I tried an old compiled core from 2015-03, the MSX sound loss on reset was there too.
On really rare occasion the sound can work after a reset.
(win7 x64)
The text was updated successfully, but these errors were encountered: