based on
https://github.com/netpipe/IrrlichtDemo ... rlicht2SDL
but when i change the name from .c to .cpp i get a error "too many arguments to function"
Code: Select all
regs8[REG_AL] = ~lseek(disk[regs8[REG_DL]], CAST(unsigned)regs16[REG_BP] << 9, 0)
? ((char)i_data0 == 3 ? (int(*)())write : (int(*)())read)(disk[regs8[REG_DL]], mem + SEGREG(REG_ES, REG_BX,), regs16[REG_AX])
: 0;