mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Fix Linux Building, Add failsafe check in volume deleting. Also started work on Microphone emulation, base work from Mem card. Just enough to make Odama think I have a Microphone in currently. It must be waiting for me to press the button on the Mic to continue to start, although I can wait through the intro and then use controller, is a pain though. More to come
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@870 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -639,7 +639,7 @@ u32 GCMemcard::ImportGci(const char *fileName, const char *fileName2)
|
||||
{
|
||||
if (!mcdFile && !fileName2) return 0;
|
||||
|
||||
FILE *gci = fopen(_T(fileName), _T("rb"));
|
||||
FILE *gci = fopen(fileName, "rb");
|
||||
if (!gci) return 0;
|
||||
|
||||
enum
|
||||
@ -739,7 +739,7 @@ u32 GCMemcard::ImportGci(const char *fileName, const char *fileName2)
|
||||
u32 ret = 0;
|
||||
if(fileName2)
|
||||
{
|
||||
FILE * gci2 = fopen(_T(fileName2), _T("wb"));
|
||||
FILE * gci2 = fopen(fileName2, "wb");
|
||||
if (!gci2) return 0;
|
||||
fseek(gci2, 0, SEEK_SET);
|
||||
fwrite(d, 1, 0x40, gci2);
|
||||
@ -759,7 +759,7 @@ u32 GCMemcard::ImportGci(const char *fileName, const char *fileName2)
|
||||
|
||||
bool GCMemcard::ExportGci(u32 index, const char *fileName)
|
||||
{
|
||||
FILE *gci = fopen(_T(fileName), _T("wb"));
|
||||
FILE *gci = fopen(fileName, "wb");
|
||||
if(!gci) return false;
|
||||
fseek(gci, 0, SEEK_SET);
|
||||
|
||||
|
Reference in New Issue
Block a user