mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-06 09:15:46 -06:00
refactor: improve console handling & logs, scoped mutex lock, fix linux unused imports
This commit is contained in:
@@ -25,6 +25,10 @@ impl CommonPlatform for Platform {
|
||||
Ok(()) // No-op for Emscripten
|
||||
}
|
||||
|
||||
fn requires_console(&self) -> bool {
|
||||
false
|
||||
}
|
||||
|
||||
fn get_canvas_size(&self) -> Option<(u32, u32)> {
|
||||
Some(unsafe { get_canvas_size() })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user