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

Function func_load_music_state

src/Engine/Adlib/adlplayer.cpp:777–781  ·  view source on GitHub ↗

load music state

Source from the content-addressed store, hash-verified

775}
776//load music state
777void func_load_music_state(int i)
778{
779 adlib_reset_channels();
780 memcpy(&instruments, &saved_instruments[i], sizeof(instruments));
781}
782
783
784//MAIN FUNCTION - runs 1 tick of music according tempo

Callers

nothing calls this directly

Calls 1

adlib_reset_channelsFunction · 0.85

Tested by

no test coverage detected