-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RPI: crash during startup #9
Comments
Do a git bisect and report back. |
I bisected it to this commit - 4a14dd2 |
I guess they're on an old version of RetroArch that did not yet have this environ callback. |
this is with retroarch v1.0.0.3 - ce57697 so not old |
Try if this fixes anything - |
funnily enough I just did that - well diff --git a/common/sys_libretro.c b/common/sys_libretro.c
index d86ba85..cfd2884 100644
--- a/common/sys_libretro.c
+++ b/common/sys_libretro.c
@@ -618,7 +618,7 @@ static void update_env_variables(void)
if (environ_cb(RETRO_ENVIRONMENT_GET_USERNAME, &default_username))
{
- if (default_username[0] != '\0')
+ if (default_username != NULL && default_username[0] != '\0')
{
char setplayer[256];
sprintf(setplayer, "name %s", default_username); works with above code |
I see the fix is in. Cheers :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
RetroArch reports an 2410 segfault:
RetroArch: rarch_log_libretro: libretro INFO :: Got size: 320x320
RetroArch: rarch_log_libretro: libretro INFO :: Quake Libretro -- TyrQuake Version 0.62
RetroArch WARN :: gl_glsl_init :: GL : Stock GLSL shaders will be used.
2410 Segfault
I compiled tyrquake with retropie https://github.com/petrockblog/RetroPie-Setup/blob/master/scriptmodules/libretrocores/tyrquake.sh. Was anything important changed this month? The script worked Nov. 16.
The text was updated successfully, but these errors were encountered: