0
0

I have a problem with memory initialization and FMOD init() on Xbox360.
The following crashes in FMOD::System::init():

[code:156x0z1c]
m_pMemPool = XPhysicalAlloc( iMemPoolSize, MAXULONG_PTR, 4096, PAGE_READWRITE | PAGE_WRITECOMBINE );

FMOD::Memory_Initialize( m_pMemPool, iMemPoolSize, 0, 0, 0 );
FMOD::System_Create( &m_pFMODSystem );

m_pFMODSystem->init( 256, FMOD_INIT_NORMAL, 0 );
[/code:156x0z1c]

Is there something wrong with this code? If Memory_Initialize() is not called, crash doesn’t happen.
I’m using FMOD 4.02.05 (octoberXDK).

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.