mirror of
https://github.com/nzp-team/dquakeplus.git
synced 2024-11-12 23:44:06 +00:00
Match sound between 3DS and PSP
This commit is contained in:
parent
14f8678ac1
commit
a8c22557c3
2 changed files with 4 additions and 3 deletions
|
@ -229,7 +229,11 @@ void DumpChunks(void)
|
||||||
data_p=iff_data;
|
data_p=iff_data;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
#ifdef PSP_VFPU
|
||||||
memcpy_vfpu(str, data_p, 4);
|
memcpy_vfpu(str, data_p, 4);
|
||||||
|
#else
|
||||||
|
memcpy(str, data_p, 4);
|
||||||
|
#endif // PSP_VFPU
|
||||||
data_p += 4;
|
data_p += 4;
|
||||||
iff_chunk_len = GetLittleLong();
|
iff_chunk_len = GetLittleLong();
|
||||||
Con_Printf ("0x%x : %s (%d)\n", (int)(data_p - 4), str, iff_chunk_len);
|
Con_Printf ("0x%x : %s (%d)\n", (int)(data_p - 4), str, iff_chunk_len);
|
||||||
|
|
|
@ -25,7 +25,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#define DEFAULT_SOUND_PACKET_VOLUME 255
|
#define DEFAULT_SOUND_PACKET_VOLUME 255
|
||||||
#define DEFAULT_SOUND_PACKET_ATTENUATION 1.0
|
#define DEFAULT_SOUND_PACKET_ATTENUATION 1.0
|
||||||
|
|
||||||
// !!! if this is changed, it much be changed in asm_i386.h too !!!
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
int left;
|
int left;
|
||||||
|
@ -38,7 +37,6 @@ typedef struct sfx_s
|
||||||
cache_user_t cache;
|
cache_user_t cache;
|
||||||
} sfx_t;
|
} sfx_t;
|
||||||
|
|
||||||
// !!! if this is changed, it much be changed in asm_i386.h too !!!
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
int length;
|
int length;
|
||||||
|
@ -63,7 +61,6 @@ typedef struct
|
||||||
unsigned char *buffer;
|
unsigned char *buffer;
|
||||||
} dma_t;
|
} dma_t;
|
||||||
|
|
||||||
// !!! if this is changed, it much be changed in asm_i386.h too !!!
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
sfx_t *sfx; // sfx number
|
sfx_t *sfx; // sfx number
|
||||||
|
|
Loading…
Reference in a new issue