Cheat codes are emulator‑specific, not universal. For Link to the Past on PSP emulators:
/cheats/
ALTP.cht
cheat "Infinite Hearts"\ncode 3CE0F6F0 0000000C\nenable