mirror of
https://github.com/JesseTG/melonds-ds.git
synced 2024-12-01 02:31:06 +00:00
Silence a warning on macOS
This commit is contained in:
parent
f16c299234
commit
cd650c64f8
@ -202,7 +202,7 @@ void melonds::InputState::Update(const ScreenLayoutData& screen_layout_data) noe
|
||||
hybridTouch = screen_layout_data.TransformPointerInputToHybridScreen(pointerInput);
|
||||
|
||||
char text[1024];
|
||||
sprintf(text, "Pointer: (%d, %d) -> (%d, %d)", pointerInput.x, pointerInput.y, touch.x, touch.y);
|
||||
snprintf(text, sizeof(text), "Pointer: (%d, %d) -> (%d, %d)", pointerInput.x, pointerInput.y, touch.x, touch.y);
|
||||
retro_message_ext message{
|
||||
.msg = text,
|
||||
.duration = 60,
|
||||
|
Loading…
Reference in New Issue
Block a user