MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / OPLSetPortHandler

Function OPLSetPortHandler

src/Engine/Adlib/fmopl.cpp:1304–1309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1302}
1303#if BUILD_Y8950
1304void OPLSetPortHandler(FM_OPL *OPL,OPL_PORTHANDLER_W PortHandler_w,OPL_PORTHANDLER_R PortHandler_r,int param)
1305{
1306 OPL->porthandler_w = PortHandler_w;
1307 OPL->porthandler_r = PortHandler_r;
1308 OPL->port_param = param;
1309}
1310
1311void OPLSetKeyboardHandler(FM_OPL *OPL,OPL_PORTHANDLER_W KeyboardHandler_w,OPL_PORTHANDLER_R KeyboardHandler_r,int param)
1312{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected