dborth / snes9xgx

Snes9x GX - Port of Snes9x for Wii
http://wiibrew.org/wiki/Snes9x_GX
Other
435 stars 64 forks source link

Fix bug where Save SRAM button could be focused when disabled #1026

Closed InfiniteBlueGX closed 1 year ago

InfiniteBlueGX commented 1 year ago

When the "Hide SRAM" option was enabled, the "New SRAM" button would be hidden and disabled, however, it could still be focused upon despite being invisible. This commit fixes the problem.

@dborth , would it be worthwhile if I brought this feature over to FCEUGX? I only really use Snes9xGX but I'd be able to port it over there if there's a desire for feature parity.

dborth commented 1 year ago

When the "Hide SRAM" option was enabled, the "New SRAM" button would be hidden and disabled, however, it could still be focused upon despite being invisible. This commit fixes the problem.

@dborth , would it be worthwhile if I brought this feature over to FCEUGX? I only really use Snes9xGX but I'd be able to port it over there if there's a desire for feature parity.

For sure! That would be very much appreciated. Thanks for the PR!