mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-12-24 17:11:58 +01:00
[example_plugin] not using the "real" function in example
This commit is contained in:
parent
437cbf9a66
commit
88f323de17
@ -88,7 +88,7 @@ LD1FLAGS += --relocatable -s \
|
||||
# -memb: enable embedded application specific compilation
|
||||
# -ffunction-sections: split up functions so linker can garbage collect
|
||||
# -fdata-sections: split up data so linker can garbage collect
|
||||
CFLAGS += -O0 -Wall -x c -std=gnu11 \
|
||||
CFLAGS += -O0 -Wall -x c -std=gnu99 \
|
||||
-nostdinc -ffreestanding \
|
||||
-DGEKKO_U -D__wiiu__ \
|
||||
-mrvl -mcpu=750 -meabi -mhard-float -fshort-wchar -fno-common \
|
||||
|
@ -13,13 +13,13 @@ static int value = 15;
|
||||
|
||||
static int my_func(void)
|
||||
{
|
||||
int res = func();
|
||||
int res = 17;
|
||||
return 4 * value * res;
|
||||
}
|
||||
|
||||
static int my_func2(void)
|
||||
{
|
||||
int res = func();
|
||||
int res = 15;
|
||||
return 4 * value * res;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user