mirror of
https://git.planet-casio.com/Lephenixnoir/JustUI.git
synced 2025-06-06 05:25:10 +02:00
jscene: disable return-to-main on machines where it's not supported
This commit is contained in:
parent
334be52cee
commit
024914b278
1 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
||||||
#include <gint/gint.h>
|
#include <gint/gint.h>
|
||||||
#include <gint/drivers/t6k11.h>
|
#include <gint/drivers/t6k11.h>
|
||||||
#include <gint/cpu.h>
|
#include <gint/cpu.h>
|
||||||
|
#include <gint/hardware.h>
|
||||||
|
|
||||||
/* Type identifier for jscene */
|
/* Type identifier for jscene */
|
||||||
static int jscene_type_id = -1;
|
static int jscene_type_id = -1;
|
||||||
|
@ -57,7 +58,7 @@ jscene *jscene_create(int x, int y, int w, int h, void *parent)
|
||||||
s->queue_first = 0;
|
s->queue_first = 0;
|
||||||
s->queue_next = 0;
|
s->queue_next = 0;
|
||||||
s->lost_events = 0;
|
s->lost_events = 0;
|
||||||
s->mainmenu = true;
|
s->mainmenu = (gint[HWCALC] != HWCALC_FXCG100);
|
||||||
s->poweroff = true;
|
s->poweroff = true;
|
||||||
s->autopaint = false;
|
s->autopaint = false;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue