notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8a9b43
)
Pass correct type for RETRO_ENVIRONMENT_SET_MESSAGE
author
twinaphex
<autechre1024@hotmail.com>
Sat, 25 May 2013 21:11:31 +0000
(23:11 +0200)
committer
twinaphex
<autechre1024@hotmail.com>
Sat, 25 May 2013 21:11:31 +0000
(23:11 +0200)
frontend/libretro.c
patch
|
blob
|
blame
|
history
diff --git
a/frontend/libretro.c
b/frontend/libretro.c
index
024ea7a
..
62f968a
100644
(file)
--- 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;