mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
cd: switch to CD drive emu code from genplus
same license, much cleaner code
This commit is contained in:
parent
3f23709ef3
commit
274fcc35aa
25 changed files with 1798 additions and 1824 deletions
|
@ -157,7 +157,7 @@ zip_failed:
|
|||
if (f == NULL)
|
||||
goto cso_failed;
|
||||
|
||||
#ifndef __EPOC32__
|
||||
#ifdef __GP2X__
|
||||
/* we use our own buffering */
|
||||
setvbuf(f, NULL, _IONBF, 0);
|
||||
#endif
|
||||
|
@ -227,7 +227,7 @@ cso_failed:
|
|||
strncpy(file->ext, ext, sizeof(file->ext) - 1);
|
||||
fseek(f, 0, SEEK_SET);
|
||||
|
||||
#ifndef __EPOC32__ // makes things worse on Symbian
|
||||
#ifdef __GP2X__
|
||||
if (file->size > 0x400000)
|
||||
/* we use our own buffering */
|
||||
setvbuf(f, NULL, _IONBF, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue