oh god git what are you doing

This commit is contained in:
Arisotura 2022-09-25 22:00:53 +02:00
commit 98f45b72ab
3 changed files with 9 additions and 1 deletions

View File

@ -317,6 +317,7 @@ ConfigEntry ConfigFile[] =
{"DSBatteryLevelOkay", 1, &DSBatteryLevelOkay, true, true},
{"DSiBatteryLevel", 0, &DSiBatteryLevel, 0xF, true},
{"DSiBatteryCharging", 1, &DSiBatteryCharging, true, true},
// TODO!!
// we need a more elegant way to deal with this
{"Camera0_InputType", 0, &Camera[0].InputType, 0, false},

View File

@ -69,6 +69,14 @@ struct CameraConfig
bool XFlip;
};
struct CameraConfig
{
int InputType; // 0=blank 1=image 2=camera
std::string ImagePath;
std::string CamDeviceName;
bool XFlip;
};
extern int KeyMapping[12];
extern int JoyMapping[12];

View File

@ -496,7 +496,6 @@ u16 MP_RecvReplies(u8* data, u64 timestamp, u16 aidmask)
return LocalMP::RecvReplies(data, timestamp, aidmask);
}
bool LAN_Init()
{
if (Config::DirectLAN)