deltabeard / Peanut-GB

A Game Boy (DMG) emulator single header library written in C99. Performance is prioritised over accuracy.
https://projects.deltabeard.com/peanutgb/
329 stars 41 forks source link

Cant save on Legend of Zeld Links awakening #100

Closed EILMaxO closed 8 months ago

EILMaxO commented 8 months ago

Apparently your supposed to press A + B + select + start, but when I try that it brings me back to the game selection menu if someone can help it will be very appreciated, thanks.

deltabeard commented 8 months ago

I haven't had this problem with Links Awakening. Is this the original or the DX version? I'll test again later.

Takiiiiiiii commented 8 months ago

This is the original and it is due to select and start being used as a menu hotkey in Pico-GB.

deltabeard commented 8 months ago

That's an issue with Pico-GB, not the emulator Peanut-GB itself. The relevant code is at https://github.com/YouMakeTech/Pico-GB/blob/efc56e55e12ec425e9ce8835809965a54116a4d8/src/main.c#L760. The code could be changed to a different button combination, or require pressing and holding start+select for a few seconds instead, for example.