ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Daodan.c
(Generate patch)

Comparing Daodan/src/Daodan.c (file contents):
Revision 322 by rossy, Fri May 15 11:45:19 2009 UTC vs.
Revision 323 by rossy, Sun May 17 12:19:35 2009 UTC

# Line 1 | Line 1
1   #include "Daodan.h"
2   #include "Daodan_Patch.h"
3   #include "Daodan_Utility.h"
4 + #include "Daodan_Win32.h"
5  
6   #include "Oni.h"
7   #include "BFW_Utility.h"
# Line 81 | Line 82 | void __cdecl DDrMain(int argc, char* arg
82          DDrPatch_MakeJump(UUrMachineTime_High_Frequency, DDrMachineTime_High_Frequency);
83          DDrPatch_MakeJump(UUrMachineTime_Sixtieths, DDrMachineTime_Sixtieths);
84          
85 +        // Windowed mode
86 +        DDrPatch_MakeJump(ONrPlatform_Initialize, DDrPlatform_Initialize);
87 +        
88          ONiMain(argc, argv);
89   }
90  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)