Skip to content

Instantly share code, notes, and snippets.

View andres-asm's full-sized avatar

Andrés andres-asm

View GitHub Profile
Continuing.
[Thread 18996.0x2f40 exited with code 0]
Thread 1 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 18996.0x4414]
0x000000000041c635 in string_is_empty (
data=data@entry=0x16 <error: Cannot access memory at address 0x16>)
at libretro-common/string/stdstring.c:30
30 return (data == NULL) || (*data == '\0');
(gdb) bt
This file has been truncated, but you can view the full file.
0 wglChoosePixelFormat(hdc = 0x78015169, ppfd = &{nSize = 40, nVersion = 1, dwFlags = PFD_DOUBLEBUFFER | PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL, iPixelType = PFD_TYPE_RGBA, cColorBits = 32, cRedBits = 0, cRedShift = 0, cGreenBits = 0, cGreenShift = 0, cBlueBits = 0, cBlueShift = 0, cAlphaBits = 0, cAlphaShift = 0, cAccumBits = 0, cAccumRedBits = 0, cAccumGreenBits = 0, cAccumBlueBits = 0, cAccumAlphaBits = 0, cDepthBits = 0, cStencilBits = 0, cAuxBuffers = 0, iLayerType = PFD_MAIN_PLANE, bReserved = 0, dwLayerMask = 0, dwVisibleMask = 0, dwDamageMask = 0}) = 9
1 wglSetPixelFormat(hdc = 0x78015169, iPixelFormat = 9, ppfd = &{nSize = 40, nVersion = 1, dwFlags = PFD_DOUBLEBUFFER | PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL, iPixelType = PFD_TYPE_RGBA, cColorBits = 32, cRedBits = 0, cRedShift = 0, cGreenBits = 0, cGreenShift = 0, cBlueBits = 0, cBlueShift = 0, cAlphaBits = 0, cAlphaShift = 0, cAccumBits = 0, cAccumRedBits = 0, cAccumGreenBits = 0, cAccumBlueBits = 0, cAccumAlphaBits = 0, cDepthBits = 0, cStencilBit
static void nuk_layout_ps3(nuk_handle_t *xmb, int width)
{
unsigned new_font_size, new_header_height;
settings_t *settings = config_get_ptr();
float scale_factor = (settings->menu.xmb.scale_factor * width) / (1920.0 * 100);
xmb->above_subitem_offset = 1.5;
xmb->above_item_offset = -1.0;
xmb->active_item_factor = 3.0;
Thread 1 received signal SIGSEGV, Segmentation fault.
0x00000000004dfa60 in dinput_is_pressed (id=49, port=0, binds=0x0,
joypad_info=..., di=0x7acd950) at input/drivers/dinput.c:295
295 if (!di->blocked && dinput_keyboard_pressed(di, bind->key))
(gdb) bt
#0 0x00000000004dfa60 in dinput_is_pressed (id=49, port=0, binds=0x0,
joypad_info=..., di=0x7acd950) at input/drivers/dinput.c:295
#1 dinput_input_state (data=0x7acd950, joypad_info=..., binds=0x538fbc0,
port=0, device=1, idx=0, id=49) at input/drivers/dinput.c:481
#2 0x0000000000428830 in input_menu_keys_pressed (
Thread 1 received signal SIGSEGV, Segmentation fault.
0x00000000004df950 in dinput_is_pressed (id=49, port=0, binds=0x0,
joypad_info=..., di=0x7ab99e0) at input/drivers/dinput.c:295
295 if (!di->blocked && dinput_keyboard_pressed(di, bind->key))
(gdb) bt full
#0 0x00000000004df950 in dinput_is_pressed (id=49, port=0, binds=0x0,
joypad_info=..., di=0x7ab99e0) at input/drivers/dinput.c:295
bind = 0x6b30
#1 dinput_input_state (data=0x7ab99e0, joypad_info=..., binds=0x538fc40,
port=0, device=1, idx=0, id=49) at input/drivers/dinput.c:481
#AUTOMATICALLY GENERATED - DO NO EDIT!
server {
listen *:80;
server_name dev.protrauma.com.ec;
Basic idea, when a netplay match is started an http post would be sent to a web server, something like this
http://matchmaking.libretro.com/register?username="blah"?hostname="ipaddress"?port="port"?core="corename"?core_version="version"?gamename="gamename"?crc="crc"
It would send subsequent keepalives every X seconds.
The PHP or perl or whatever script would generate a simple "\n" separated list that can be downloaded, maybe periodically
in the backgroud or maybe on demand. The PHP script would remove an entry after Y minutes or whenever the game changes for the same
IP/Nickname combo
Then a client could go to "Online" or whatever, hit refresh and it would display a list of the available games, hitting
diff --git a/libretro/libretro.c b/libretro/libretro.c
index c4b515a..b2d36e7 100644
--- a/libretro/libretro.c
+++ b/libretro/libretro.c
@@ -934,13 +934,14 @@ bool retro_serialize(void *data, size_t size)
if (initializing)
return false;
- const char* filename = ConfigGetSharedDataFilepath("savestate.temp");
- int success = savestates_save_m64p((char*)filename);
<radius> does tyrquake work on linux atm??
<Twinaphex> what should never work?
<Twinaphex> of course it works on linux
<radius> it's doing a extract_basename
<radius> of the dir without the filename
<Twinaphex> yeah so what?
<Twinaphex> yeah so it looks for the audio files then from within that basedir
<Twinaphex> I dunno - I didn’t make the PR
<Twinaphex> that’s why I’m asking you if any of you have had success in testing this FLAC soundtrack
<Twinaphex> or whatever
diff --git a/intl/msg_hash_lbl.h b/intl/msg_hash_lbl.h
index 4444ac9ec..218d75b18 100644
--- a/intl/msg_hash_lbl.h
+++ b/intl/msg_hash_lbl.h
@@ -909,6 +909,14 @@ MSG_HASH(MENU_ENUM_LABEL_SORT_SAVEFILES_ENABLE,
"sort_savefiles_enable")
MSG_HASH(MENU_ENUM_LABEL_SORT_SAVESTATES_ENABLE,
"sort_savestates_enable")
+MSG_HASH(MENU_ENUM_LABEL_SAVEFILES_IN_CONTENT_DIR_ENABLE,
+ "savefiles_in_content_dir_enable")