Closing the device config dialog causes 64-bit PCem to crash
Closing the device config dialog causes 64-bit PCem to crash
For example, click the Configure button next to the video card selection box, and change the VRAM amount. Press OK or Cancel, it doesn't matter. Some time after that dialog closes, 64-bit PCem will crash. 32-bit PCem is not affected.
Re: Closing the device config dialog causes 64-bit PCem to c
Found a fix.
In win-deviceconfig.c, in deviceconfig_open(), find:
After this, add:
Then, find:
Change to:
It will then no longer crash.
In win-deviceconfig.c, in deviceconfig_open(), find:
Code: Select all
uint16_t *data = malloc(16384);
Code: Select all
uint16_t *data_ = data;
Code: Select all
free(data);
Code: Select all
free(data_);
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: Closing the device config dialog causes 64-bit PCem to c
Committed a variation of that to rev 294.