FireBirdLib - Topfield TMS PVR TAP Programming Library
FlashFavoritesGetParameters.c
Go to the documentation of this file.
1
#include "
libFireBird.h
"
2
3
void
FlashFavoritesGetParameters
(
int
*NrGroups,
int
*NrSvcsPerGroup)
4
{
5
TRACEENTER
();
6
7
int
i;
8
9
i =
FIS_vFlashBlockGameSaveData
() -
FIS_vFlashBlockFavoriteGroup
();
10
11
if
(i == 1644)
12
{
13
if
(NrGroups) *NrGroups = 10;
14
if
(NrSvcsPerGroup) *NrSvcsPerGroup = 50;
15
}
16
else
if
(i == 9424)
17
{
18
if
(NrGroups) *NrGroups = 30;
19
if
(NrSvcsPerGroup) *NrSvcsPerGroup = 100;
20
}
21
else
22
{
23
LogEntryFBLibPrintf
(TRUE,
"FlashFavoritesGetParameters: unknown favorite structure variant (%d bytes)"
, i);
24
if
(NrGroups) *NrGroups = i;
25
if
(NrSvcsPerGroup) *NrSvcsPerGroup = i;
26
}
27
28
TRACEEXIT
();
29
}
FIS_vFlashBlockFavoriteGroup
dword FIS_vFlashBlockFavoriteGroup(void)
Definition:
FIS_vFlashBlockFavoriteGroup.c:3
FIS_vFlashBlockGameSaveData
dword FIS_vFlashBlockGameSaveData(void)
Definition:
FIS_vFlashBlockGameSaveData.c:3
FlashFavoritesGetParameters
void FlashFavoritesGetParameters(int *NrGroups, int *NrSvcsPerGroup)
Definition:
FlashFavoritesGetParameters.c:3
LogEntryFBLibPrintf
void LogEntryFBLibPrintf(bool Console, char *format,...)
Definition:
LogEntryFBLibPrintf.c:13
libFireBird.h
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
flash
FlashFavoritesGetParameters.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3