| 36 |
|
bool patch_particledisablebit = false; |
| 37 |
|
bool patch_multibyte = false; |
| 38 |
|
bool patch_cheattable = true; |
| 39 |
+ |
bool patch_argb8888 = true; |
| 40 |
|
|
| 41 |
|
bool patch_safeprintf = true; |
| 42 |
|
bool patch_daodandisplayenum = true; |
| 155 |
|
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); |
| 162 |
+ |
} |
| 163 |
+ |
|
| 164 |
|
return true; |
| 165 |
|
} |
| 166 |
|
|
| 212 |
|
patch_multibyte = !stricmp(value, "true"); |
| 213 |
|
else if (!stricmp(name, "cheattable")) |
| 214 |
|
patch_cheattable = !stricmp(value, "true"); |
| 215 |
+ |
else if (!stricmp(name, "argb8888")) |
| 216 |
+ |
patch_argb8888 = !stricmp(value, "true"); |
| 217 |
|
else if (!stricmp(name, "safeprintf")) |
| 218 |
|
patch_safeprintf = !stricmp(value, "true"); |
| 219 |
|
else if (!stricmp(name, "daodandisplayenum")) |