Get rid of mostly dead code

This commit is contained in:
libretroadmin
2022-06-20 06:07:40 +02:00
parent c3d84f5349
commit 6a31522981
14 changed files with 5 additions and 170 deletions

View File

@@ -46,21 +46,16 @@ static void FP_FASTAPASS(1) MJ_Write(uint8 v) {
v >>= 1;
v &= 3;
if (v == 3) {
if (v == 3)
MRet = (MReal >> 14) & 0x7F;
/* MRet=((MRet&0x1F) |((MRet&0x40)>>1)|((MRet&0x20)<<1)) <<1; */ /* (MReal>>13)&0x7F; */
} else if (v == 2) {
else if (v == 2)
MRet = MReal & 0xFF;
} else if (v == 1) {
else if (v == 1)
MRet = (MReal >> 8) & 0x3F;
}
/* HSValR=HSVal<<1; */
}
static void FP_FASTAPASS(2) MJ_Update(void *data, int arg) {
MReal = *(uint32*)data;
/* printf("%08x\n",MReal>>13); */
/* HSVal=*(uint8*)data; */
}
static INPUTCFC Mahjong = { MJ_Read, MJ_Write, 0, MJ_Update, 0, 0 };