-
Notifications
You must be signed in to change notification settings - Fork 0
/
translate.h
38 lines (28 loc) · 1.21 KB
/
translate.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef __TRANSLATE_H__
#define __TRANSLATE_H__
#include "rom.h"
extern int Setup_ROM (ROMPtr pROM);
extern void Translate_ROM (ROMPtr pROM);
extern void H2P_Translate_ROM (ROMPtr pROM);
extern void P2H_Translate_ROM (ROMPtr pROM);
extern void H2P_Translate_PRC (PRCPtr pPRC);
extern void P2H_Translate_PRC (PRCPtr pPRC);
extern void H2P_Translate_DatabaseHdr (ROMPtr pROM,
DatabaseHdrPtr pDatabase);
extern void P2H_Translate_DatabaseHdr (ROMPtr pROM,
DatabaseHdrPtr pDatabase);
extern void H2P_Translate_CardHeader (ROMPtr pROM,
CardHeaderPtr pCard);
extern void P2H_Translate_CardHeader (ROMPtr pROM,
CardHeaderPtr pCard);
extern void H2P_Translate_DatabaseList (ROMPtr pROM,
DatabaseListPtr pDatabaseList);
extern void P2H_Translate_DatabaseList (ROMPtr pROM,
DatabaseListPtr pDatabaseList);
typedef void(*TransFunc) (ROMPtr pROM, const void* pList);
extern void Translate_GenericList (ROMPtr pROM,
void** ppList,
UInt16 numEntries,
UInt16 stepSize,
TransFunc translate);
#endif //__TRANSLATE_H__