Ported: Added missing signature. - Faless

89c8a8d1dc
This commit is contained in:
Relintai 2022-07-27 14:35:14 +02:00
parent a50758b8f6
commit f0a6bd5a31

View File

@ -391,6 +391,7 @@ const PandemoniumDisplay = {
PandemoniumRuntime.setHeapValue(height, window.screen.height * scale, 'i32');
},
pandemonium_js_display_window_size_get__sig: 'vii',
pandemonium_js_display_window_size_get: function(p_width, p_height) {
PandemoniumRuntime.setHeapValue(p_width, PandemoniumConfig.canvas.width, 'i32');
PandemoniumRuntime.setHeapValue(p_height, PandemoniumConfig.canvas.height, 'i32');