Improvements to path handling. Patch from bit.
This commit is contained in:
parent
1d4c9ab4e8
commit
807b710a5d
55 changed files with 588 additions and 368 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#include "io.h"
|
||||
#include "device.h"
|
||||
#include "tandy_eeprom.h"
|
||||
#include "nvr.h"
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
|
@ -126,10 +127,10 @@ void *tandy_eeprom_init()
|
|||
switch (romset)
|
||||
{
|
||||
case ROM_TANDY1000HX:
|
||||
f = romfopen("nvr/tandy1000hx.bin" ,"rb");
|
||||
f = nvrfopen("tandy1000hx.bin" ,"rb");
|
||||
break;
|
||||
case ROM_TANDY1000SL2:
|
||||
f = romfopen("nvr/tandy1000sl2.bin" ,"rb");
|
||||
f = nvrfopen("tandy1000sl2.bin" ,"rb");
|
||||
break;
|
||||
}
|
||||
if (f)
|
||||
|
|
@ -153,10 +154,10 @@ void tandy_eeprom_close(void *p)
|
|||
switch (eeprom->romset)
|
||||
{
|
||||
case ROM_TANDY1000HX:
|
||||
f = romfopen("nvr/tandy1000hx.bin" ,"wb");
|
||||
f = nvrfopen("tandy1000hx.bin" ,"wb");
|
||||
break;
|
||||
case ROM_TANDY1000SL2:
|
||||
f = romfopen("nvr/tandy1000sl2.bin" ,"wb");
|
||||
f = nvrfopen("tandy1000sl2.bin" ,"wb");
|
||||
break;
|
||||
}
|
||||
fwrite(eeprom->store, 128, 1, f);
|
||||
|
|
|
|||
Loading…
Reference in a new issue