Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue]: Real Time Clock (RTC) Doesn't work for GBA games. #456

Open
Jman1070 opened this issue Jul 17, 2023 · 1 comment
Open

[Issue]: Real Time Clock (RTC) Doesn't work for GBA games. #456

Jman1070 opened this issue Jul 17, 2023 · 1 comment
Labels

Comments

@Jman1070
Copy link

Describe the bug

When loading pokemon games, regular or rom hacks like Unbound/Shiny Gold Sigma the RTC does not function at all.

To Reproduce

  1. Have current VBA GX
  2. Load up a pokemon gba game

Expected behavior

Real time clock follows the UTC offset that is in the main menu.

Relevant log output

No response

Screenshots

No response

@Jman1070 Jman1070 added the bug label Jul 17, 2023
@saulfabregwiivc
Copy link
Contributor

saulfabregwiivc commented Apr 19, 2024

for official Pokémon GBA games, maybe it's related to the per-game settings applied in source/gamesettings.cpp, but for romhacks sorry we can't help with that since it needs an option called Force-Enable RTC in the GUI, which isn't present in VBA-GX.

{
"Pokemon - Fire Red Version (USA, Europe)",
"BPRE",
-1,
-1,
131072,
-1
},

i could try setting RTC to ON for Pokémon GBA games later.

EDIT: for reference, WarioWare: Twisted has forced-enabled RTC here:

{
"WarioWare - Twisted! (USA)",
"RZWE",
-1,
1, // needs "RealTimeClock" (actually motion sensor and rumble)
-1,
-1
},

EDIT 2: for another reference, Tantric set this for make gameSettings for GBA games:

struct gameSetting {
char gameName[100];
char gameID[5];
int saveType;
int rtcEnabled;
int flashSize;
int mirroringEnabled;
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants