Skip to content

Commit 31298be

Browse files
committed
Update to v1.22.2
1 parent 9cedc4a commit 31298be

File tree

3 files changed

+10
-14
lines changed

3 files changed

+10
-14
lines changed

patches/00007_goweiwen_add_state_disk_slot_commands.patch

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,10 @@ index 1f07bdd4eeb..b64f63f08d9 100644
130130
bool command_load_state_slot(command_t *cmd, const char *arg)
131131
{
132132
diff --git a/command.h b/command.h
133-
index ad3ac3e12eb..416f98062f6 100644
133+
index 6fd256541b..7e9c378af4 100644
134134
--- a/command.h
135135
+++ b/command.h
136-
@@ -408,6 +408,12 @@ bool command_version(command_t *cmd, const char* arg);
136+
@@ -426,6 +426,12 @@ bool command_version(command_t *cmd, const char* arg);
137137
bool command_get_status(command_t *cmd, const char* arg);
138138
bool command_get_config_param(command_t *cmd, const char* arg);
139139
bool command_show_osd_msg(command_t *cmd, const char* arg);
@@ -145,25 +145,21 @@ index ad3ac3e12eb..416f98062f6 100644
145145
+bool command_save_state_slot(command_t *cmd, const char *arg);
146146
bool command_load_state_slot(command_t *cmd, const char* arg);
147147
bool command_play_replay_slot(command_t *cmd, const char* arg);
148-
#ifdef HAVE_CHEEVOS
149-
@@ -441,8 +447,15 @@ static const struct cmd_action_map action_map[] = {
148+
bool command_seek_replay(command_t *cmd, const char *arg);
149+
@@ -456,6 +462,13 @@ static const struct cmd_action_map action_map[] = {
150150
{ "READ_CORE_MEMORY", command_read_memory, "<address> <number of bytes>" },
151151
{ "WRITE_CORE_MEMORY",command_write_memory, "<address> <byte1> <byte2> ..." },
152-
153-
- { "LOAD_STATE_SLOT",command_load_state_slot, "<slot number>"},
154-
- { "PLAY_REPLAY_SLOT",command_play_replay_slot, "<slot number>"},
152+
155153
+ { "GET_DISK_COUNT", command_get_disk_count, "No argument" },
156154
+ { "GET_DISK_SLOT", command_get_disk_slot, "No argument" },
157155
+ { "SET_DISK_SLOT", command_set_disk_slot, "<disc number>" },
158156
+
159157
+ { "GET_STATE_SLOT", command_get_state_slot, "No argument" },
160158
+ { "SET_STATE_SLOT", command_set_state_slot, "<slot number>" },
161159
+ { "SAVE_STATE_SLOT", command_save_state_slot, "<slot number>" },
162-
+ { "LOAD_STATE_SLOT", command_load_state_slot, "<slot number>" },
163-
+ { "PLAY_REPLAY_SLOT", command_play_replay_slot, "<slot number>" },
164-
};
165-
166-
static const struct cmd_map map[] = {
160+
{ "LOAD_STATE_SLOT",command_load_state_slot, "<slot number>"},
161+
{ "PLAY_REPLAY_SLOT",command_play_replay_slot, "<slot number>"},
162+
{ "SEEK_REPLAY",command_seek_replay, "<frame number>"},
167163
diff --git a/runloop.c b/runloop.c
168164
index a4bc004f26..669737e7ab 100644
169165
--- a/runloop.c

src/input/drivers_joypad/sdl_miyoomini_joypad.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ static void sdl_miyoomini_joypad_connect(void) {
139139
/* 'Register' joypad connection via autoconfig task */
140140
input_autoconfigure_connect(
141141
sdl_miyoomini_joypad_name(0), /* name */
142-
NULL, /* display_name */
142+
NULL, NULL, /* display_names */
143143
sdl_dingux_joypad.ident, /* driver */
144144
0, /* port */
145145
0, /* vid */

submodules/RetroArch

Submodule RetroArch updated 957 files

0 commit comments

Comments
 (0)