notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pass correct type for RETRO_ENVIRONMENT_SET_MESSAGE
[pcsx_rearmed.git]
/
frontend
/
libretro.c
diff --git
a/frontend/libretro.c
b/frontend/libretro.c
index
16feeec
..
62f968a
100644
(file)
--- a/
frontend/libretro.c
+++ b/
frontend/libretro.c
@@
-842,7
+842,15
@@
void retro_init(void)
fclose(f);
}
else
fclose(f);
}
else
+ {
SysPrintf("no BIOS files found.\n");
SysPrintf("no BIOS files found.\n");
+ struct retro_message msg =
+ {
+ "no BIOS found, expect bugs!",
+ 180
+ };
+ environ_cb(RETRO_ENVIRONMENT_SET_MESSAGE, (void*)&msg);
+ }
level = 1;
environ_cb(RETRO_ENVIRONMENT_SET_PERFORMANCE_LEVEL, &level);
level = 1;
environ_cb(RETRO_ENVIRONMENT_SET_PERFORMANCE_LEVEL, &level);