This commit is contained in:
condret 2024-11-15 05:02:09 +01:00
parent 05e4614af4
commit a7b3fa98be

View File

@ -13,7 +13,7 @@ static RIODesc *__open(RIO *io, const char *pathname, int rw, int mode) {
return NULL;
}
GBJoypad *joypad = NULL;
sscanf (pathname, "gb_joybad://%p", &joypad);
sscanf (pathname, "gb_joypad://%p", &joypad);
RIODesc *desc = r_io_desc_new (io, &r_io_plugin_gb_joypad, pathname,
R_PERM_RWX, mode, joypad);
return desc;