diff options
author | twinaphex | 2013-05-25 23:11:31 +0200 |
---|---|---|
committer | twinaphex | 2013-05-25 23:11:31 +0200 |
commit | 0133074b6007a703ad76b02e2a6fcea97a005647 (patch) | |
tree | a8a35591dcdf91ef1df2413cdc9bfd90a2c478fd /frontend/libretro.c | |
parent | c8a9b436fca00b2facf28dd3098ea09e3a732709 (diff) | |
download | pcsx_rearmed-0133074b6007a703ad76b02e2a6fcea97a005647.tar.gz pcsx_rearmed-0133074b6007a703ad76b02e2a6fcea97a005647.tar.bz2 pcsx_rearmed-0133074b6007a703ad76b02e2a6fcea97a005647.zip |
Pass correct type for RETRO_ENVIRONMENT_SET_MESSAGE
Diffstat (limited to 'frontend/libretro.c')
-rw-r--r-- | frontend/libretro.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/frontend/libretro.c b/frontend/libretro.c index 024ea7a..62f968a 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -844,8 +844,12 @@ void retro_init(void) else { SysPrintf("no BIOS files found.\n"); - const char *str = "no BIOS found, expect bugs!"; - environ_cb(RETRO_ENVIRONMENT_SET_MESSAGE, (void*)&str); + struct retro_message msg = + { + "no BIOS found, expect bugs!", + 180 + }; + environ_cb(RETRO_ENVIRONMENT_SET_MESSAGE, (void*)&msg); } level = 1; |