1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-31 14:27:34 +00:00

Ports: Add Sonic Robo Blast 2

This commit adds Sonic Robo Blast 2, a Sonic fangame running with SDL2
to the list of SerenityOS game ports.
The game is working fine for the most part but there's some performance
issues and the mouse never resets to the center so it gets stuck in the
window's corners. It seems like the multiplayer / networking is also
not quite working but I think that this is very cool already.
This commit is contained in:
Refrag 2024-02-04 18:12:38 +01:00 committed by Tim Schumacher
parent a580118e53
commit 4fbc701721
8 changed files with 318 additions and 0 deletions

View file

@ -0,0 +1,34 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Refrag <R3FR4GYT@gmail.com>
Date: Sun, 4 Feb 2024 17:45:16 +0100
Subject: [PATCH] Disable Console Variables value checker sad path
For some reason, the value checker for console variables seems to not behave properly even with the default console variables value.
Disabling the error path resolves this issue and the game still works fine without it.
---
src/command.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/command.c b/src/command.c
index e1a43522d..4336d19ac 100644
--- a/src/command.c
+++ b/src/command.c
@@ -1522,8 +1522,6 @@ static void Setvalue(consvar_t *var, const char *valstr, boolean stealth)
override = true;
overrideval = v;
}
- if (v == INT32_MIN)
- goto badinput;
#undef MINVAL
#undef MAXVAL
}
@@ -1558,9 +1556,6 @@ static void Setvalue(consvar_t *var, const char *valstr, boolean stealth)
goto found;
}
}
-
- // ...or not.
- goto badinput;
found:
if (client && execversion_enabled)
{