File tree 2 files changed +16
-1
lines changed
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 5
5
-- luacheck: read_globals DEPLS_VERSION DEPLS_VERSION_NUMBER DEPLS_VERSION_CODENAME
6
6
7
7
local love = require (" love" )
8
+ local ls2x = require (" libs.ls2x" )
8
9
9
10
local androidCodenames = setmetatable ({
10
11
-- LOVE only supports Android 4.0 and later
@@ -23,7 +24,8 @@ local androidCodenames = setmetatable({
23
24
[25 ] = " Nougat" ,
24
25
[26 ] = " Oreo" ,
25
26
[27 ] = " Oreo" ,
26
- [28 ] = " Pie"
27
+ [28 ] = " Pie" ,
28
+ [29 ] = " 10.0" ,
27
29
}, {__index = function () return " Unknown" end })
28
30
29
31
local osVersionString
@@ -140,6 +142,14 @@ local function buildTextString()
140
142
end
141
143
end
142
144
145
+ if ls2x .libav then
146
+ if package.preload .lvep then
147
+ feature [# feature + 1 ] = " LVEP"
148
+ else
149
+ feature [# feature + 1 ] = " libav audio decoding"
150
+ end
151
+ end
152
+
143
153
sb [# sb + 1 ] = " Opts: " .. table.concat (feature , " " )
144
154
end
145
155
Original file line number Diff line number Diff line change @@ -402,6 +402,11 @@ function love.load(argv, gameargv)
402
402
log .warn (" main" , " LOVE 0.10.x support for Live Simulator: 2 has been deprecated!" )
403
403
end
404
404
405
+ if love ._os == " Windows" then
406
+ local ffi = require (" ffi" )
407
+ log .debug (" main" , " Active code page: " .. ffi .C .GetACP ())
408
+ end
409
+
405
410
-- Enable key repeat
406
411
love .keyboard .setKeyRepeat (true )
407
412
-- Most codes in livesim2 uses math.random instead of love.math.random
You can’t perform that action at this time.
0 commit comments