mirror of
https://github.com/dborth/fceugx.git
synced 2024-10-31 22:45:05 +01:00
corrections to compile on r18
This commit is contained in:
parent
d08fa5f0e3
commit
634c0df170
@ -31,7 +31,7 @@ INCLUDES := source/fceultra source/ngc source/unzip
|
||||
CFLAGS = -g -O3 -Wall $(MACHDEP) $(INCLUDE) -DNGC -DNO_SOUND \
|
||||
-DFCEU_VERSION_NUMERIC=9812 -DFRAMESKIP \
|
||||
-D_SZ_ONE_DIRECTORY -D_LZMA_IN_CB -D_LZMA_OUT_READ \
|
||||
-fomit-frame-pointer -fno-exceptions \
|
||||
-fomit-frame-pointer \
|
||||
-Wno-unused-parameter -Wno-strict-aliasing
|
||||
|
||||
CXXFLAGS = $(CFLAGS)
|
||||
|
@ -31,7 +31,7 @@ INCLUDES := source/fceultra source/ngc source/unzip
|
||||
CFLAGS = -g -O3 -Wall $(MACHDEP) $(INCLUDE) -DNGC \
|
||||
-DFCEU_VERSION_NUMERIC=9812 -DFRAMESKIP \
|
||||
-D_SZ_ONE_DIRECTORY -D_LZMA_IN_CB -D_LZMA_OUT_READ \
|
||||
-fomit-frame-pointer -fno-exceptions \
|
||||
-fomit-frame-pointer \
|
||||
-Wno-unused-parameter -Wno-strict-aliasing
|
||||
CXXFLAGS = $(CFLAGS)
|
||||
|
||||
|
@ -159,6 +159,7 @@
|
||||
|
||||
#include <malloc.h>
|
||||
#include <string.h>
|
||||
#include <wchar.h>
|
||||
#include <map>
|
||||
|
||||
/*! \struct ftgxCharData_
|
||||
|
@ -37,6 +37,7 @@
|
||||
#include <string.h>
|
||||
#include <vector>
|
||||
#include <exception>
|
||||
#include <wchar.h>
|
||||
#include <math.h>
|
||||
#include <asndlib.h>
|
||||
#include <wiiuse/wpad.h>
|
||||
|
@ -218,8 +218,8 @@ void GuiButton::Update(GuiTrigger * t)
|
||||
|
||||
if(
|
||||
(t->wpad.btns_d > 0 &&
|
||||
wm_btns == wm_btns_trig ||
|
||||
(cc_btns == cc_btns_trig && t->wpad.exp.type == EXP_CLASSIC)) ||
|
||||
(wm_btns == wm_btns_trig ||
|
||||
(cc_btns == cc_btns_trig && t->wpad.exp.type == EXP_CLASSIC))) ||
|
||||
(t->pad.btns_d == trigger[i]->pad.btns_d && t->pad.btns_d > 0))
|
||||
{
|
||||
if(t->chan == stateChan || stateChan == -1)
|
||||
@ -267,8 +267,8 @@ void GuiButton::Update(GuiTrigger * t)
|
||||
|
||||
if(
|
||||
(t->wpad.btns_d > 0 &&
|
||||
wm_btns == wm_btns_trig ||
|
||||
(cc_btns == cc_btns_trig && t->wpad.exp.type == EXP_CLASSIC)) ||
|
||||
(wm_btns == wm_btns_trig ||
|
||||
(cc_btns == cc_btns_trig && t->wpad.exp.type == EXP_CLASSIC))) ||
|
||||
(t->pad.btns_d == trigger[i]->pad.btns_h && t->pad.btns_d > 0))
|
||||
{
|
||||
if(trigger[i]->type == TRIGGER_HELD && state == STATE_SELECTED &&
|
||||
@ -278,8 +278,8 @@ void GuiButton::Update(GuiTrigger * t)
|
||||
|
||||
if(
|
||||
(t->wpad.btns_h > 0 &&
|
||||
wm_btns_h == wm_btns_trig ||
|
||||
(cc_btns_h == cc_btns_trig && t->wpad.exp.type == EXP_CLASSIC)) ||
|
||||
(wm_btns_h == wm_btns_trig ||
|
||||
(cc_btns_h == cc_btns_trig && t->wpad.exp.type == EXP_CLASSIC))) ||
|
||||
(t->pad.btns_h == trigger[i]->pad.btns_h && t->pad.btns_h > 0))
|
||||
{
|
||||
if(trigger[i]->type == TRIGGER_HELD)
|
||||
|
Loading…
Reference in New Issue
Block a user