Silence a discarded-qualifiers warning
waitUntilDeviceIsReady() should take a const char pointer as a parameter, because it doesn't use it for writing. Since the function prototype asks for a char pointer, cast it here.
This commit is contained in:
parent
4f9e86d24b
commit
bcdb644bce
|
@ -343,7 +343,7 @@ static void frontend_ps2_exec(const char *path, bool should_load_game)
|
||||||
deinit_drivers(true, true);
|
deinit_drivers(true, true);
|
||||||
reset_IOP();
|
reset_IOP();
|
||||||
common_init_drivers(false);
|
common_init_drivers(false);
|
||||||
waitUntilDeviceIsReady(path);
|
waitUntilDeviceIsReady((char *)path);
|
||||||
|
|
||||||
#ifndef IS_SALAMANDER
|
#ifndef IS_SALAMANDER
|
||||||
char game_path[FILENAME_MAX];
|
char game_path[FILENAME_MAX];
|
||||||
|
|
Loading…
Reference in New Issue