Skip to content
Snippets Groups Projects
Verified Commit ef3bcead authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

chore: adds warning information

parent f9ea57c0
No related branches found
No related tags found
No related merge requests found
Pipeline #4130 passed
...@@ -24,4 +24,5 @@ memory_descriptors = "false" ...@@ -24,4 +24,5 @@ memory_descriptors = "false"
libretro_saves = "true" libretro_saves = "true"
core_options = "true" core_options = "true"
# General Description
description = "A Game Boy emulator that is written in Rust." description = "A Game Boy emulator that is written in Rust."
...@@ -413,6 +413,9 @@ pub unsafe extern "C" fn retro_load_game(game: *const RetroGameInfo) -> bool { ...@@ -413,6 +413,9 @@ pub unsafe extern "C" fn retro_load_game(game: *const RetroGameInfo) -> bool {
RETRO_ENVIRONMENT_GET_GAME_INFO_EXT, RETRO_ENVIRONMENT_GET_GAME_INFO_EXT,
addr_of!(GAME_INFO_EXT) as *const _ as *const c_void, addr_of!(GAME_INFO_EXT) as *const _ as *const c_void,
); );
if !ext_result {
warnln!("Failed to get extended game info");
}
infoln!( infoln!(
"Loading ROM file in Boytacean from '{}' ({} bytes)...", "Loading ROM file in Boytacean from '{}' ({} bytes)...",
String::from(CStr::from_ptr((*game).path).to_str().unwrap()), String::from(CStr::from_ptr((*game).path).to_str().unwrap()),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment