mirror of
https://github.com/bryanthaboi/gen1recomp.git
synced 2026-08-12 00:10:56 +02:00
test fixes
This commit is contained in:
@@ -348,6 +348,7 @@ function ImageData:getDimensions() return self.w, self.h end
|
||||
function ImageData:getPixel() return 0, 0, 0, 1 end
|
||||
function ImageData:setPixel() end
|
||||
function ImageData:mapPixel() end
|
||||
function ImageData:paste() end
|
||||
function ImageData:encode() return { getString = function() return "" end } end
|
||||
|
||||
stub.image = {
|
||||
@@ -362,6 +363,12 @@ stub.image = {
|
||||
end,
|
||||
}
|
||||
|
||||
-- Headless runs report the desktop OS so platform gates (GamepadMap's NX
|
||||
-- check, the touch-overlay filter) take their desktop branch.
|
||||
stub.system = {
|
||||
getOS = function() return "OS X" end,
|
||||
}
|
||||
|
||||
-- Desktop / headless: full-window safe area (matches LÖVE's fallback).
|
||||
stub.window = {
|
||||
getSafeArea = function()
|
||||
|
||||
Reference in New Issue
Block a user