mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-08 00:27:45 +00:00
feat: allow disabling iggy from meson.options
This commit is contained in:
parent
7bef36fb2e
commit
649bc00fe4
|
|
@ -8,8 +8,6 @@
|
|||
// GDraw GL backend for Linux
|
||||
#include "Iggy/gdraw/gdraw_sdl.h"
|
||||
|
||||
#define _ENABLEIGGY
|
||||
|
||||
ConsoleUIController ui;
|
||||
|
||||
static void restoreFixedFunctionStateAfterIggy() {
|
||||
|
|
|
|||
|
|
@ -40,9 +40,11 @@ global_cpp_defs = [
|
|||
|
||||
if get_option('enable_vsync')
|
||||
global_cpp_defs += '-DENABLE_VSYNC'
|
||||
message('v-sync enabled')
|
||||
endif
|
||||
|
||||
if get_option('enable_iggy')
|
||||
global_cpp_defs += '-D_ENABLEIGGY'
|
||||
endif
|
||||
|
||||
if host_machine.system() == 'linux'
|
||||
global_cpp_defs += [
|
||||
|
|
|
|||
|
|
@ -1,4 +1,9 @@
|
|||
option('enable_vsync',
|
||||
type : 'boolean',
|
||||
value : true,
|
||||
description : 'Toggles weather V-Sync will be toggle on or off.')
|
||||
description : 'Toggles V-Sync and adds options to unlock maximum in-game framerate.')
|
||||
|
||||
option('enable_shiggy',
|
||||
type : 'boolean',
|
||||
value : true,
|
||||
description : 'Toggles shimmed PS4 Iggy binaries and UI for x86_64 Linux.')
|
||||
|
|
|
|||
Loading…
Reference in a new issue