mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Load at3plus decoders through "at3plusdecoder64.dll" under win64.
This way 32 and 64-bit builds can coexist in the same folder.
This commit is contained in:
parent
169ca97377
commit
820fd52c48
@ -25,7 +25,12 @@ namespace Atrac3plus_Decoder {
|
||||
int initdecoder() {
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
#ifdef _M_X64
|
||||
hlib = LoadLibraryA("at3plusdecoder64.dll");
|
||||
#else
|
||||
hlib = LoadLibraryA("at3plusdecoder.dll");
|
||||
#endif
|
||||
if (hlib) {
|
||||
frame_decoder = (ATRAC3PLUS_DECODEFRAME)GetProcAddress(hlib, "Atrac3plusDecoder_decodeFrame");
|
||||
open_context = (ATRAC3PLUS_OPENCONTEXT)GetProcAddress(hlib, "Atrac3plusDecoder_openContext");
|
||||
|
Loading…
Reference in New Issue
Block a user