The default keys for save states changed in MAME.
Read: https://docs.mamedev.org/usingmame/defaultkeys.html
Looks like you are pressing LeftShift F7.
If the keys are not working as documented either delete cfg/default.cfg, or change the key definitions via Tab, Input Settings, Input Assignments (general).