Changeset 983 for Daodan/src/patches
- Timestamp:
- Mar 16, 2014, 9:06:52 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Daodan/src/patches/Patches.c
r896 r983 90 90 //this was broken 91 91 FILE** _UUgError_WarningFile = (FILE**)0x005711B4; 92 FILE *__fastcall DDrPrintWarning(int filename, int linenumber, unsigned __int16 errornum, int message) 93 { 94 92 FILE* ONICALL DDrPrintWarning(int filename, int linenumber, unsigned __int16 errornum, int message) 93 { 95 94 FILE *v4; // eax@1 96 95 FILE *result; // eax@4 … … 121 120 } 122 121 122 _COrTextArea_Resize Oni_COrTextArea_Resize = (_COrTextArea_Resize)0; 123 int16_t ONICALL DD_COrTextArea_Resize(void* inTextArea, UUtRect* inBounds, int16_t inNumTextEntries) { 124 if (inTextArea == COgCommandLine) { 125 inBounds->top -= 5; 126 } 127 return Oni_COrTextArea_Resize(inTextArea, inBounds, inNumTextEntries); 128 } 123 129 124 130 int DD_Patch_DebugNameTextureInit(short width, short height, int type, int allocated, int flags, char* name, void** output) … … 320 326 } 321 327 328 void DD_Patch_HighresConsole() { 329 Oni_COrTextArea_Resize = DDrPatch_MakeDetour((void*)COrTextArea_Resize, (void*)DD_COrTextArea_Resize); 330 } 331 322 332 // Hackish fix for Konoko not kicking guns 323 333 // Don't use this, it breaks stairs. … … 594 604 if (patch_hdscreens_lowres) 595 605 DD_Patch_HDScreens_LowRes(); 606 607 if (patch_highres_console) 608 DD_Patch_HighresConsole(); 596 609 597 610 if (patch_kickguns)
Note:
See TracChangeset
for help on using the changeset viewer.