mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 08:12:41 +02:00
port: make the legal screen render correctly
also, total errno death in the same commit because I am dumb
This commit is contained in:
1 parent
da94644c38
commit
f91401cb95
41 files changed
+466
-324
No files matched your search
@@ -15,7 +15,7 @@ void filemgrSetDevice1ByFile(struct filelistfile *file);
|
||||
void filemgrSetFileToDelete(struct filelistfile *file, s32 filetype);
|
||||
char *filemgrMenuTextFailReason(struct menuitem *item);
|
||||
char *filemgrMenuTextDeviceNameForError(struct menuitem *item);
|
||||
void filemgrPushErrorDialog(u16 errno);
|
||||
void filemgrPushErrorDialog(u16 errnum);
|
||||
s32 filemgrGetDeviceNameOrStartIndex(s32 listnum, s32 operation, s32 optionindex);
|
||||
char *filemgrMenuTextErrorTitle(struct menuitem *item);
|
||||
char *filemgrMenuTextFileType(struct menuitem *item);
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
#include_next <math.h>
|
||||
#undef M_PI
|
||||
#undef M_TAU
|
||||
#undef errno // fuck off
|
||||
#endif
|
||||
|
||||
// @bug?
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#ifndef PLATFORM_N64
|
||||
|
||||
#include_next <stdlib.h>
|
||||
#undef errno // fuck off
|
||||
|
||||
#else // PLATFORM_N64
|
||||
|
||||
|
||||
@@ -59,7 +59,6 @@ extern size_t strlen(const char *);
|
||||
#else
|
||||
|
||||
#include_next <string.h>
|
||||
#undef errno // fuck off
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
+1
-2
@@ -18,7 +18,6 @@
|
||||
#define romptr_t u32
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#undef errno // fuck off
|
||||
#define romptr_t uintptr_t
|
||||
#endif
|
||||
|
||||
@@ -3765,7 +3764,7 @@ struct menudata_filemgr {
|
||||
};
|
||||
/*0xe2c*/ s32 unke2c;
|
||||
/*0xe30*/ u32 unke30;
|
||||
/*0xe34*/ u16 errno;
|
||||
/*0xe34*/ u16 errnum;
|
||||
/*0xe38*/ struct filelistfile *filetodelete;
|
||||
/*0xe3c*/ u8 device1;
|
||||
/*0xe3d*/ u8 filetypetodelete;
|
||||
|
||||
Reference in new issue
Block a user