TwlIPL/include/sysmenu/ds/common/ds.h
kamikawa a563889580 マイク不具合DSタイトル向けのスピーカ音量の定義をIPLツリー側で持つように変更しました。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2239 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2008-08-22 07:34:20 +00:00

42 lines
1.2 KiB
C

/*---------------------------------------------------------------------------*
Project: TwlIPL
File: ds.h
Copyright 2008 Nintendo. All rights reserved.
These coded instructions, statements, and computer programs contain
proprietary information of Nintendo of America Inc. and/or Nintendo
Company Ltd., and are protected by Federal copyright law. They may
not be disclosed to third parties or copied or duplicated in any form,
in whole or in part, without the prior written consent of Nintendo.
$Date:: #$
$Rev: $
$Author: $
*---------------------------------------------------------------------------*/
#ifndef SYSM_DS_COMMON_DS_H_
#define SYSM_DS_COMMON_DS_H_
#include <sysmenu/memorymap.h>
#ifdef __cplusplus
extern "C" {
#endif
#define DS_REDRSV_PATCH_FUNC_ADDR ( HW_RED_RESERVED + 0x1c )
#define DS_WLPATCH_SIZE (5*4)
#define DS_WLPATCH_COPYCODE_SIZE (10*4)
#define DS_ANGVOL_GAIN_SP_SPECIAL 0x2A // -21.1dB
void DS_InsertWLPatch( void* romHeaderNTR );
void DS_SetSpeakerVolume( void* romHeaderNTR );
#ifdef __cplusplus
} /* extern "C" */
#endif
/* SYSM_DS_COMMON_DS_H_ */
#endif