Subversion Repositories pspware

Rev

Rev 345 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 345 Rev 350
Line 20... Line 20...
20
PSP_MODULE_INFO("SOUND", 0, 1, 1);
20
PSP_MODULE_INFO("SOUND", 0, 1, 1);
21
PSP_HEAP_SIZE_KB(240);
21
PSP_HEAP_SIZE_KB(240);
22
PSP_NO_CREATE_MAIN_THREAD();
22
PSP_NO_CREATE_MAIN_THREAD();
23
23
24
24
25
extern "C" {
25
int init( lua_State * L )
26
26
{
27
extern lua_State * getLuaState();
27
        luaSound_init( L );
28
}
28
}
29
29
30
-
 
31
int main(int argc, char *argv[] )
30
int main(int argc, char *argv[] )
32
{
31
{
33
        printf( "sound.lrx loaded\n" );
32
        printf( "sound.lrx loaded\n" );
34
33
35
        lua_State * L;
-
 
36
-
 
37
        L = getLuaState();
-
 
38
-
 
39
        luaSound_init( L );
-
 
40
34
41
        return 0;
35
        return 0;
42
}
36
}
43
37