mirror of
https://github.com/Oibaf66/uae-wii.git
synced 2024-11-22 02:29:17 +01:00
Removed useless ifdef GEKKO and alias, restored rt_memory to 64KB instead of 1MB
This commit is contained in:
parent
98ef6ae924
commit
b3056e1671
@ -184,7 +184,7 @@ static uae_u32 REGPARAM2 uae_puts (TrapContext *context)
|
||||
|
||||
static void rtarea_init_mem (void)
|
||||
{
|
||||
rtarea = mapped_malloc (0x100000, "rtarea");
|
||||
rtarea = mapped_malloc (0x10000, "rtarea");
|
||||
if (!rtarea) {
|
||||
write_log ("virtual memory exhausted (rtarea)!\n");
|
||||
abort ();
|
||||
|
@ -364,7 +364,7 @@ get_fs_usage (path, disk, fsp)
|
||||
|
||||
#endif /* STAT_STATVFS */
|
||||
|
||||
#if !defined(STAT_STATFS2_FS_DATA) && !defined(STAT_READ_FILSYS) && !defined(GEKKO)
|
||||
#if !defined(STAT_STATFS2_FS_DATA) && !defined(STAT_READ_FILSYS)
|
||||
/* !Ultrix && !SVR2 */
|
||||
|
||||
fsp->fsu_blocks = CONVERT_BLOCKS (fsd.f_blocks);
|
||||
|
@ -1421,7 +1421,9 @@ int debuggable (void)
|
||||
|
||||
int mousehack_allowed (void)
|
||||
{
|
||||
#ifdef GEKKO
|
||||
return 0;
|
||||
#endif
|
||||
return mousehack;
|
||||
}
|
||||
|
||||
|
@ -335,12 +335,7 @@ extern int gui_message_multibutton (int flags, const char *format,...);
|
||||
#endif
|
||||
|
||||
#ifdef GEKKO
|
||||
/* Technically not true, but looking at libfat, it seems like
|
||||
* unlink can remove directories as well */
|
||||
# define rmdir unlink
|
||||
|
||||
/* Definately problems! */
|
||||
//# define chmod(a,b)
|
||||
# define dup(fd) fd
|
||||
# define utime(filename, buf) 0
|
||||
#endif
|
||||
|
@ -35,7 +35,7 @@ static RETSIGTYPE sigbrkhandler (int foo)
|
||||
|
||||
void setup_brkhandler (void)
|
||||
{
|
||||
#if defined(__unix) && !defined(__NeXT__) && !defined(GEKKO)
|
||||
#if defined(__unix) && !defined(__NeXT__)
|
||||
struct sigaction sa;
|
||||
sa.sa_handler = sigbrkhandler;
|
||||
sa.sa_flags = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user