Changeset 426


Ignore:
Timestamp:
Jul 16, 2009, 3:24:07 AM (12 years ago)
Author:
rossy
Message:

ARGB8888 Textures

Location:
Daodan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Daodan/src/Daodan.c

    r422 r426  
    3737bool patch_multibyte = false;
    3838bool patch_cheattable = true;
     39bool patch_argb8888 = true;
    3940
    4041bool patch_safeprintf = true;
     
    153154                DDrPatch_Int32 (OniExe + 0x000f616b, (int)&DDr_CheatTable[0].name);
    154155                DDrPatch_Int32 (OniExe + 0x000f617a, (int)&DDr_CheatTable[0].message_on);
     156        }
     157       
     158        if (patch_argb8888)
     159        {
     160                DDrPatch_Byte  (OniExe + 0x00135af0, 0x07);
     161                DDrPatch_Byte  (OniExe + 0x00135af4, 0x0B);
    155162        }
    156163       
     
    206213                        else if (!stricmp(name, "cheattable"))
    207214                                patch_cheattable = !stricmp(value, "true");
     215                        else if (!stricmp(name, "argb8888"))
     216                                patch_argb8888 = !stricmp(value, "true");
    208217                        else if (!stricmp(name, "safeprintf"))
    209218                                patch_safeprintf = !stricmp(value, "true");
Note: See TracChangeset for help on using the changeset viewer.