[GH-ISSUE #429] Transfer Pak crashing certain games #39

Closed
opened 2026-03-03 13:45:13 +03:00 by kerem · 0 comments
Owner

Originally created by @skawo on GitHub (Jun 23, 2025).
Original GitHub issue: https://github.com/gopher64/gopher64/issues/429

Gopher64 crashes when enabling Transfer Pak in games that also support Rumble at this line.

There are certain games that continously poll the controller with osMotorInit to detect the Rumble Pak; for example, Ocarina of Time. If the Transfer Pak option is enabled for that game, the emulator instantly crashes.

While not technically a problem for the typical user right now, I'm working on a mod for Ocarina of Time that utilizes both of these accessories.

I'm sure the antics of random romhacks aren't of much concern but this behaviour is, of course, not how real hardware behaves; a real Transfer Pak just ignores any such unknown writes, and you can play Ocarina of Time with the Transfer Pak inserted just fine.

I would greatly appreciate it if any such unknown writes were logged instead of outright crashing the emulator.

Originally created by @skawo on GitHub (Jun 23, 2025). Original GitHub issue: https://github.com/gopher64/gopher64/issues/429 Gopher64 crashes when enabling Transfer Pak in games that also support Rumble at [this line.](https://www.github.com/gopher64/gopher64/blob/0c2b4b2aac47bb714fd3228bd3638f39365ff547/src/device/controller/transferpak.rs#L87) There are certain games that continously poll the controller with osMotorInit to detect the Rumble Pak; for example, Ocarina of Time. If the Transfer Pak option is enabled for that game, the emulator instantly crashes. While not technically a problem for the typical user right now, I'm working on a mod for Ocarina of Time that utilizes both of these accessories. I'm sure the antics of random romhacks aren't of much concern but this behaviour is, of course, not how real hardware behaves; a real Transfer Pak just ignores any such unknown writes, and you can play Ocarina of Time with the Transfer Pak inserted just fine. I would greatly appreciate it if any such unknown writes were logged instead of outright crashing the emulator.
kerem closed this issue 2026-03-03 13:45:13 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/gopher64#39
No description provided.