updated ebiten version from 2.7.9 to 2.9.9

This commit is contained in:
2026-06-15 19:06:55 +02:00
parent 21edbc41c4
commit db1b625069
405 changed files with 31913 additions and 12595 deletions
+11 -23
View File
@@ -12,6 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//go:generate go run gen.go
//go:generate gofmt -s -w .
package gamepaddb
import (
@@ -37,35 +40,20 @@ const (
)
func currentPlatform() platform {
if runtime.GOOS == "windows" {
switch runtime.GOOS {
case "windows":
return platformWindows
}
if runtime.GOOS == "aix" ||
runtime.GOOS == "dragonfly" ||
runtime.GOOS == "freebsd" ||
runtime.GOOS == "hurd" ||
runtime.GOOS == "illumos" ||
runtime.GOOS == "linux" ||
runtime.GOOS == "netbsd" ||
runtime.GOOS == "openbsd" ||
runtime.GOOS == "solaris" {
case "aix", "dragonfly", "freebsd", "hurd", "illumos", "linux", "netbsd", "openbsd", "solaris":
return platformUnix
}
if runtime.GOOS == "android" {
case "android":
return platformAndroid
}
if runtime.GOOS == "ios" {
case "ios":
return platformIOS
}
if runtime.GOOS == "darwin" {
case "darwin":
return platformMacOS
default:
return platformUnknown
}
return platformUnknown
}
type mappingType int