Fixed typo in the error message: it's YM2612 is OPN2 which is not OPL

This commit is contained in:
Vitaly Novichkov 2018-03-25 03:25:04 +03:00 committed by Christoph Oelckers
parent 3e31b89929
commit 79d7067f07

View file

@ -70,7 +70,7 @@ OPNMIDIDevice::OPNMIDIDevice(const char *args)
int lump = Wads.CheckNumForFullName("xg.wopn"); int lump = Wads.CheckNumForFullName("xg.wopn");
if (lump < 0) if (lump < 0)
{ {
I_Error("No OPL bank found"); I_Error("No OPN bank found");
} }
FMemLump data = Wads.ReadLump(lump); FMemLump data = Wads.ReadLump(lump);
opn2_openBankData(Renderer, data.GetMem(), data.GetSize()); opn2_openBankData(Renderer, data.GetMem(), data.GetSize());