Skip to content

Commit

Permalink
Report correct OPL versions
Browse files Browse the repository at this point in the history
This is not actually used anywhere, but the information should still be correct.
 * Nuked is an OPL3 emulator, not OPL2
 * Woody is configured to be OPL3, not OPL2
mywave82 committed Mar 18, 2023
1 parent 416f2d5 commit e96fecf
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/nemuopl.cpp
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ CNemuopl::CNemuopl(int rate)
{
opl = new opl3_chip();
OPL3_Reset(opl, rate);
currType = TYPE_OPL2;
currType = TYPE_OPL3;
samplerate = rate;
}

2 changes: 1 addition & 1 deletion src/wemuopl.h
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ class CWemuopl: public Copl
: use16bit(bit16), stereo(usestereo), sampleerate(rate)
{
opl.adlib_init(rate, usestereo ? 2 : 1, bit16 ? 2 : 1);
currType = TYPE_OPL2;
currType = TYPE_OPL3;
};

void update(short *buf, int samples)

0 comments on commit e96fecf

Please sign in to comment.