Changeset 329


Ignore:
Timestamp:
Jun 3, 2009, 2:12:21 PM (15 years ago)
Author:
rossy
Message:

multi-byte patch!
also disabled the things that make it not work

Location:
Daodan
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Daodan/src/Daodan.c

    r326 r329  
    6565        //DDrPatch_Int16 (OniExe + 0x001b184, 0x9090);
    6666       
     67        // Multi-byte patch (multiple language support)
     68        DDrPatch_Byte  (OniExe + 0x0002d8f8, 0xeb);
     69        DDrPatch_Byte  (OniExe + 0x0002d9ad, 0xeb);
     70        DDrPatch_Byte  (OniExe + 0x0002dbe2, 0xeb);
     71        DDrPatch_Byte  (OniExe + 0x0002dec3, 0xeb);
     72        DDrPatch_Byte  (OniExe + 0x0002e2ab, 0xeb);
     73        DDrPatch_Byte  (OniExe + 0x0002e2c4, 0xeb);
     74        DDrPatch_Byte  (OniExe + 0x0002e379, 0xeb);
     75        DDrPatch_Byte  (OniExe + 0x0002e48c, 0xeb);
     76        DDrPatch_Byte  (OniExe + 0x0002e4d0, 0xeb);
     77        DDrPatch_Byte  (OniExe + 0x0002e4f4, 0xeb);
     78        DDrPatch_Byte  (OniExe + 0x0002e646, 0xeb);
     79        DDrPatch_Byte  (OniExe + 0x0002e695, 0xeb);
     80        DDrPatch_Byte  (OniExe + 0x0002e944, 0xeb);
     81        DDrPatch_Byte  (OniExe + 0x0002e95d, 0xeb);
     82        DDrPatch_Byte  (OniExe + 0x0002e98e, 0xeb);
     83        DDrPatch_Byte  (OniExe + 0x0002e9dc, 0xeb);
     84       
    6785        return true;
    6886}
     
    84102       
    85103        // Windowed mode
    86         DDrPatch_MakeJump(ONrPlatform_Initialize, DDrPlatform_Initialize);
    87         DDrPatch_MakeJump(gl_platform_initialize, daodangl_platform_initialize);
     104//      DDrPatch_MakeJump(ONrPlatform_Initialize, DDrPlatform_Initialize);
     105//      DDrPatch_MakeJump(gl_platform_initialize, daodangl_platform_initialize);
    88106       
    89         init_daodan_gl();
     107//      init_daodan_gl();
    90108       
    91109        ONiMain(argc, argv);
Note: See TracChangeset for help on using the changeset viewer.