-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gb: use "Game Boy" save path for both GB and GBC
Fixes using the same rom file on both GB and GBC hardware without losing save-data between them Fixes Pokemon Stadium when loading a .gbc rom (the Transfer Pak only used the GB path) Existing users using a custom save game path will have to manually move their saves from "Game Boy Color" to "Game Boy" Users using the default "Save alongside rom files" will not have to take any action.
- Loading branch information
Showing
3 changed files
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
struct GameBoyColor : GameBoy { | ||
auto name() -> string override { return "Game Boy Color"; } | ||
auto saveName() -> string override { return "Game Boy"; } | ||
auto extensions() -> vector<string> override { return {"gb", "gbc"}; } | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters