mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 14:54:30 +01:00
Debugging
This commit is contained in:
@@ -279,7 +279,9 @@ loc_6ED99E:
|
||||
RCT2_GLOBAL(0x14241BC, uint32) = 2;
|
||||
abc = (uint32 *)(0x1423598);
|
||||
//edx = 6;
|
||||
printf("%d %d\n", edx, abc[edx]);
|
||||
char debug_out[250];
|
||||
sprintf(debug_out, "%d %d\n", edx, abc[edx]);
|
||||
OutputDebugString(debug_out);
|
||||
osinterface_set_cursor(edx);
|
||||
RCT2_GLOBAL(0x14241BC, uint32) = 0;
|
||||
}
|
||||
|
||||
@@ -65,6 +65,7 @@ void osinterface_init()
|
||||
* rct2: 0x0407956
|
||||
*/
|
||||
void osinterface_set_cursor(char cursor){
|
||||
|
||||
HCURSOR hCurs = RCT2_ADDRESS(RCT2_ADDRESS_HCURSOR_START, HCURSOR)[cursor];
|
||||
SetCursor((HCURSOR)hCurs);
|
||||
}
|
||||
|
||||
@@ -83,7 +83,6 @@ __declspec(dllexport) int StartOpenRCT(HINSTANCE hInstance, HINSTANCE hPrevInsta
|
||||
audio_init();
|
||||
audio_get_devices();
|
||||
RCT2_CALLPROC(0x0040502E); // get_dsound_devices()
|
||||
|
||||
config_init();
|
||||
rct2_init();
|
||||
rct2_loop();
|
||||
|
||||
Reference in New Issue
Block a user