mirror of
https://github.com/libretro/RetroArch
synced 2025-02-20 15:40:44 +00:00
(WIIU) misc.
This commit is contained in:
parent
176dd79f33
commit
0433cae3c9
@ -53,16 +53,7 @@ static int16_t wiiu_input_state(void *data, const struct retro_keybind **binds,
|
||||
{
|
||||
wiiu_input_t *wiiu = (wiiu_input_t*)data;
|
||||
|
||||
if(!wiiu)
|
||||
return 0;
|
||||
|
||||
if (port > 0)
|
||||
return 0;
|
||||
|
||||
if(!binds)
|
||||
return 0;
|
||||
|
||||
if(!binds[port])
|
||||
if(!wiiu || (port > 0) || !binds || !binds[port])
|
||||
return 0;
|
||||
|
||||
switch (device)
|
||||
|
@ -1,4 +1,5 @@
|
||||
export WIILOAD=tcp:$1
|
||||
rm $2.stripped -rf
|
||||
powerpc-eabi-strip $2 -o $2.stripped
|
||||
wiiload $2.stripped
|
||||
#netcat -p 4405 -l $1
|
||||
|
@ -17,6 +17,7 @@ extern "C" {
|
||||
#define DEBUG_STR(X) printf( "%s: %s\n", #X, (char*)(X))
|
||||
#define DEBUG_VAR(X) printf( "%-20s: 0x%08X\n", #X, (u32)(X))
|
||||
#define DEBUG_INT(X) printf( "%-20s: %10i\n", #X, (s32)(X))
|
||||
#define DEBUG_FLOAT(X) printf( "%-20s: %10.3f\n", #X, (float)(X))
|
||||
#define DEBUG_VAR64(X) printf( #X"\r\t\t\t\t : 0x%016llX\n", (u64)(X))
|
||||
//#define DEBUG_ERROR(X) do{if(X)dump_result_value(X);}while(0)
|
||||
#define PRINTFPOS(X,Y) "\x1b["#X";"#Y"H"
|
||||
|
Loading…
x
Reference in New Issue
Block a user