Changeset 986


Ignore:
Timestamp:
Mar 18, 2014, 1:30:15 AM (4 years ago)
Author:
alloc
Message:

Daodan: Console area fixes

Location:
Daodan/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Daodan/src/Oni_Symbols.h

    r984 r986  
    2626// Command line instance
    2727#define COgCommandLine          (*((void**)0x00571b74))
    28 
     28#define COgConsoleLines         (*((void**)0x005cb468))
    2929
    3030// Default console text color
  • Daodan/src/patches/Patches.c

    r985 r986  
    123123int16_t ONICALL DD_COrTextArea_Resize(void* inTextArea, UUtRect* inBounds, int16_t inNumTextEntries) {
    124124        if (inTextArea == COgCommandLine) {
    125                 inBounds->top -= 8;
     125                inBounds->top -= 10;
     126        } else if (inTextArea == COgConsoleLines) {
     127                inBounds->bottom -= 10;
    126128        }
    127129        return Oni_COrTextArea_Resize(inTextArea, inBounds, inNumTextEntries);
Note: See TracChangeset for help on using the changeset viewer.