remove some chatty debug logs that don't matter anymore

This commit is contained in:
Lily Tsuru 2024-08-06 22:03:03 -04:00
parent 3be054c390
commit b377686c4b
2 changed files with 2 additions and 7 deletions

View file

@ -118,8 +118,6 @@ pub(crate) unsafe extern "C" fn environment_callback(
return false;
}
info!("Core requesting context type {:?}", hw_render_context_type);
let init_data = (*(*FRONTEND).interface).hw_gl_init();
hw_render.get_current_framebuffer = hw_gl_get_framebuffer;
@ -239,9 +237,8 @@ pub(crate) unsafe extern "C" fn video_refresh_callback(
(pitch * height as usize) as usize,
);
// Resize the pixel buffer if we need to
// Resize the conversion buffer if we need to
if (pitch * height as usize) as usize != (*FRONTEND).converted_pixel_buffer.len() {
info!("Resizing RGB565 -> RGBA buffer");
(*FRONTEND)
.converted_pixel_buffer
.resize((pitch * height as usize) as usize, 0);

View file

@ -404,9 +404,6 @@ fn main() -> Result<()> {
.help("libretro core to load")
.short('c'),
)
// Not that it matters, but this is only really required for cores that require
// content to be loaded; that's most cores, but libretro does support the difference.
// TODO: A core will tell us if it requires content, if it's not provided we can yell and exit.
.arg(
arg!(--rom <VALUE>)
.required(false)
@ -448,6 +445,7 @@ fn main() -> Result<()> {
app.load_core(core_path)?;
// TODO: Make sure to fail if a core requests content but it was never provided
if let Some(rom_path) = matches.get_one::<String>("rom") {
app.load_game(rom_path)?
}