What's new

Opening CHD causes Demul to crash

caibras

New member
When trying to open a NAOMI GD or NAOMI2 GD ROM in CHD format the emulator crashes every time.
If .bin is extracted from the CHD it works.

I tested and experienced that problem with the latest alpha version and with 0.58.
 

MetalliC

Demul developer
describe the entire sequence of actions you did.

actually its not designed at all to "open arcade CHD", but place it to "roms" folder instead and then run games from the list Run - Naomi
 
OP
C

caibras

New member
So, using Ikaruga CHD from MAME 0.165, I've put it in the roms directory alongside the BIOS roms.
When I run it: File -> Run Naomi/Naomi2, and then double click it from the list, Demul crashes.

I have tested it with some other games, also. The same thing.

Other ROMs from MAME 0.165 [not CHD] run fine.


I'm running Windows 10 - 64 bits.
 

MetalliC

Demul developer
cant reproduce it here. it works for me on Win7 and Win10.
can you provide more information about crash and your PC specs ?
 
OP
C

caibras

New member
Ok, so I remember to test it on my Surface Pro 3 and it works fine. So the problem is on my desktop.

My specs are:
AMD Phenom II X6
12 Gigs RAM
AMD Radeon HD5850

I managed to test it in Windows 10 and 7 [64 bits]
And I used the following set of drivers:

Driver Packaging Version: 15.20.1062.1004-150803a1-187669C
Catalyst Version: 15.7.1

Driver Packaging Version: 14.10.1006-140417a-171099C
Catalyst Version: 14.4
 
OP
C

caibras

New member
I ran Demul by a debugger and I found that it crashes when executing code on libchd.dll at the following instruction: pshufb xmm0,xmm1
pshufb is SSSE3 and my CPU doesn't support that instruction set (not to be confused with SSE3).

Can't you compile libchd.dll without SSSE3 support, for legacy purposes?

Thanks.
 

MetalliC

Demul developer
yes, sure, I'll build libchd without SSSE3.

thanks for advanced testing.
 

Attachments

  • libchd_oldamd.7z
    289.5 KB · Views: 265
Last edited:
OP
C

caibras

New member
It works flawlessly. I can now load CHD without any fuss.

Now, if we can have a unified list of games with filters [machine, year,...], and a search function, it would be awesome :)

But thanks for this. I appreciated.
 

MetalliC

Demul developer
no problem, thanks to you for finding the cause of crash.

as for game list - sorry, there no developers interested in messing with GUI stuff.
 

Top