add fixes for drawDisc

This commit is contained in:
Nilton Constantino 2026-01-21 07:53:13 +00:00
parent 11d9d31c2f
commit a7750c1af6
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -113,12 +113,12 @@ impl Syscall {
pub fn from_name(name: &str) -> Option<Self> { pub fn from_name(name: &str) -> Option<Self> {
match name { match name {
"system.hasCart" => Some(Self::SystemHasCart), "system.hasCart" | "system.has_cart" => Some(Self::SystemHasCart),
"gfx.clear" => Some(Self::GfxClear), "gfx.clear" => Some(Self::GfxClear),
"gfx.fillRect" | "gfx.draw_rect" => Some(Self::GfxFillRect), "gfx.fillRect" | "gfx.draw_rect" => Some(Self::GfxFillRect),
"gfx.drawLine" | "gfx.draw_line" => Some(Self::GfxDrawLine), "gfx.drawLine" | "gfx.draw_line" => Some(Self::GfxDrawLine),
"gfx.drawCircle" | "gfx.draw_circle" => Some(Self::GfxDrawCircle), "gfx.drawCircle" | "gfx.draw_circle" => Some(Self::GfxDrawCircle),
"fx.drawDisc" | "gfx.draw_disc" => Some(Self::GfxDrawDisc), "gfx.drawDisc" | "gfx.draw_disc" => Some(Self::GfxDrawDisc),
"gfx.drawSquare" | "gfx.draw_square" => Some(Self::GfxDrawSquare), "gfx.drawSquare" | "gfx.draw_square" => Some(Self::GfxDrawSquare),
"input.getPad" => Some(Self::InputGetPad), "input.getPad" => Some(Self::InputGetPad),
"input.getPadPressed" | "input.get_pad_pressed" => Some(Self::InputGetPadPressed), "input.getPadPressed" | "input.get_pad_pressed" => Some(Self::InputGetPadPressed),