Use plain sprintf instead

This commit is contained in:
twinaphex
2017-07-01 11:14:42 +02:00
parent 4d3ef9a0dc
commit b36d5eae69

View File

@@ -1730,8 +1730,7 @@ bool retro_load_game(const struct retro_game_info *game)
struct retro_message msg; struct retro_message msg;
char msg_local[256]; char msg_local[256];
snprintf(msg_local, sizeof(msg_local), sprintf(msg_local, "ROM loading failed...");
"ROM loading failed...");
msg.msg = msg_local; msg.msg = msg_local;
msg.frames = 360; msg.frames = 360;
if (environ_cb) if (environ_cb)