2009-01-10 03:41:39 +01:00
|
|
|
#ifndef RTC_H
|
|
|
|
#define RTC_H
|
2008-09-23 01:00:10 +02:00
|
|
|
|
2009-01-10 03:41:39 +01:00
|
|
|
u16 rtcRead(u32 address);
|
|
|
|
bool rtcWrite(u32 address, u16 value);
|
|
|
|
void rtcEnable(bool);
|
Rumble for all GBC rumble games and Drill Dozer. Rumble should work on Gamecube controller too. The following games have native rumble support: WarioWare Twisted, Drill Dozer, 10 Pin Bowling, 3-D Ultra Pinball Thrillride, Disney's The Little Mermaid II: Pinball Frenzy, Hole in One Golf, Missile Command, NASCAR Challenge, Perfect Dark, Pokémon Pinball, Polaris SnoCross, Ready 2 Rumble Boxing, Star Wars Episode I: Racer, Test Drive Off-Road 3, Tonka Raceway, Top Gear Pocket\Top Gear Rally, Vigilante 8, Zebco Fishing, and maybe some other games.
Also, rumble and wii-control code has been cleaned up a bit.
2009-03-20 21:22:22 +01:00
|
|
|
void rtcEnableWarioRumble(bool);
|
2009-01-10 03:41:39 +01:00
|
|
|
bool rtcIsEnabled();
|
|
|
|
void rtcReset();
|
2008-09-23 01:00:10 +02:00
|
|
|
|
2016-06-05 00:59:43 +02:00
|
|
|
#ifdef __LIBRETRO__
|
|
|
|
void rtcReadGame(const u8 *&data);
|
|
|
|
void rtcSaveGame(u8 *&data);
|
|
|
|
#else
|
2009-01-10 03:41:39 +01:00
|
|
|
void rtcReadGame(gzFile gzFile);
|
|
|
|
void rtcSaveGame(gzFile gzFile);
|
2016-06-05 00:59:43 +02:00
|
|
|
#endif
|
2008-09-23 01:00:10 +02:00
|
|
|
|
2009-01-10 03:41:39 +01:00
|
|
|
#endif // RTC_H
|