Skip to content
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

emu/save.cpp: Make illegal save state registrations always fatal #12054

Merged
merged 1 commit into from Feb 24, 2024

Conversation

cuavas
Copy link
Member

@cuavas cuavas commented Feb 22, 2024

The only thing that causes non-fatal illegal save state registrations right now is registering an item for save states after start in a system not marked as supporting save states.

It’s high time anything doing that gets fixed. Not supporting save states means save state support is incomplete, not that the driver has a license to do illegal things.

Opening this as a pull request to give fair warning, and so it can be merged after freeze.

@galibert
Copy link
Member

galibert commented Feb 22, 2024 via email

@cuavas
Copy link
Member Author

cuavas commented Feb 22, 2024

IIRC the only times I saw that warning is with ethernet networking.

Ah right, because it has an emu_timer in an OSD module. There’s just so much wrong with that it isn’t funny. I’ve wanted to get rid of that for ages. I guess this means I have to do it.

@rb6502
Copy link
Contributor

rb6502 commented Feb 22, 2024

+1 on the network layer having so much wrong it's not funny. It's difficult even to trace the flow of control.

@cuavas cuavas merged commit 334ec12 into mamedev:master Feb 24, 2024
5 checks passed
@cuavas cuavas deleted the noinvalidsave branch February 24, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants