Fixed some Buslogic bugs;
Implemented the EuroPC JIM chip NVR saving/loading correctly.
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include "CPU/cpu.h"
|
||||
#include "device.h"
|
||||
#include "io.h"
|
||||
#include "jim.h"
|
||||
#include "mem.h"
|
||||
#include "model.h"
|
||||
#include "nmi.h"
|
||||
@@ -279,6 +280,12 @@ void savenvr(void)
|
||||
wchar_t *model_name;
|
||||
wchar_t *nvr_name;
|
||||
|
||||
if (romset == ROM_EUROPC)
|
||||
{
|
||||
jim_save_nvr();
|
||||
return;
|
||||
}
|
||||
|
||||
model_name = (wchar_t *) malloc((strlen(model_get_internal_name_ex(oldmodel)) << 1) + 2);
|
||||
mbstowcs(model_name, model_get_internal_name_ex(oldmodel), strlen(model_get_internal_name_ex(oldmodel)) + 1);
|
||||
nvr_name = (wchar_t *) malloc((wcslen(model_name) << 1) + 2 + 8);
|
||||
|
||||
Reference in New Issue
Block a user