Logo
Explore Help
Register Sign In
morgan/Grinch-AP
1
0
Fork 0
You've already forked Grinch-AP
Code Issues Packages Projects Releases Wiki Activity
Files
02d3fdf2a6f3ccdf7abdbd540fe57a1acc2568e9
Grinch-AP/data/lua/lua_5_3_compat.lua

12 lines
187 B
Lua
Raw Normal View History

Lua: Further centralize code, fix Bizhawk 2.9 (#1685) * Fixes the socket library for bizhawk 2.9/lua 5.4 by including another one in parallel * Fixes lua 5.4 support by making socket.lua into a "modern" module (the `module` keyword is gone) * Adds the linux version and 32 bit windows socket dlls because why not * Merges common functions into `common.lua` - the only functional change of this should be that: * Some things that were locals are globals now - this can be changed, I just was lazy and it likely doesn't matter * `drawText` now uses middle/bottom for all prints - feel free to do what you like with that change
2023-04-15 00:17:33 -07:00
function bit.rshift(a, b)
return a >> b
end
function bit.lshift(a, b)
return a << b
end
function bit.bor(a, b)
return a | b
end
function bit.band(a, b)
return a & b
end
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 150ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API