📄 infonesmain.h
字号:
/****************************************************************************************************************
*
* Project : GameCD Player
* Module : Game Emulator
*
* Copyright : (c) 2004, Samsung India Software Operations,
* All Rights Reserved.
* This software is the confidential and proprietary information
* of Samsung Electronics, Inc. (Confidential Information). You
* shall not disclose such Confidential Information and shall use
* it only in accordance with the terms of the license agreement
* you entered into with Samsung Electronics.
*
* File : MMN/GEmu/GApp.h
* Date : 11th of May, 2004
*
* Author(s) :
* Vijay Kumar S - vijaysk@samsung.com
* Bramhanandan K - brahma@samsung.com
*
* Department : System LSI Division, SISO.
*
* Platform : S5H5002 DVD Player, ARM9TDMI
* Compiler : armcc version 2.5.1
*
* File Desc. : Contains Functions Desc of those used in InfoNESMain.c
*
* History :
*
****************************************************************************************************************/
#ifndef __INFONESMAIN_H__
#define __INFONESMAIN_H__
#define USE_VP
#define USE_RCU
/* In case of malata cd, First 5 items r PBC menus so actual games
location will be game number + 5
*/
#define MALATA_GAME_START_LOCATION 5
typedef enum
{
GAMECD_300 = 0,
GAMECD_196,
GAMECD_MALATA,
GAMECD_NONE
}gameCdType_t;
typedef enum
{
GAME_MENU = 0,
GAME_TRANSIT,
GAME_RUNNING
}gameCdTransition_t;
/* }}} */
void InfoNES_HandleGame ( UINT gm );
void SetGameCdType (gameCdType_t type);
gameCdType_t GetGameCdType(void);
BOOL InfoNES_StartGameCd(void);
void InfoNES_EndGameCd(void);
BOOL InfoNES_InitFileSystem(void);
void InfoNES_DeInitFileSystem(void);
BOOL InfoNES_InitDispLUT(void);
void InfoNES_DeInitDispLUT(void);
void InfoNES_LoadBin300CD ( UINT16 i16Index);
void InfoNES_ClearScreen(void);
void InfoNES_WriteText(UINT16 whichText, INT16 letters);
void InfoNES_ReadRomMalataCD(UINT gameNo);
void InfoNES_GetMalataGameAddr ( UINT *StartLBA, UINT *EndLBA, UINT Game_Number);
void InfoNES_SetMapperMalata ( UINT8 *nesHeader);
void InfoNES_DecryptMalataVROM ( UINT8 *vrom, UINT8 *vromStart, UINT32 numLines);
UINT8* InfoNES_GetBinAddr ( void );
void InfoNES_300CdCorrections ( UINT8 *romArea );
VOID INFONES_VPRestoreGameDisplayMode ( VOID );
void InfoNES_EndGameApp(void);
#endif /* __INFONESMAIN_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -