snes s-wram help

Hi i have a snes s-wram getting too hot to touch.
I need a replacement chip any idea on a replacement or anyone that has got one would be cool.
dunno if this is possible but could you not pull one from a snes cart

or are they different
The snes S-WRAM chip seems to be entirely proprietary dynamic ram. It allows the CPU bus and a separate bus for the PPU and other peripherals to share it. I've never seen this kind of thing from an off the shelf component.

Original thread: https://assemblergames.com/threads/snes-s-wram-help.49607/