1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Add remaining part that caused load to enter hybrid sate.

This should fix the remaining loading issues but it is untested at the moment. Note sub_675827 is not finished!
This commit is contained in:
Duncan
2014-11-20 12:52:42 +00:00
parent 816f8661a5
commit e05d5f1922

View File

@@ -684,9 +684,14 @@ int game_load_save(const char *path)
if (!load_success){
sub_675827();
//RCT2_CALLPROC_X(0x675827, 0, 0, 0, 0, 0, 0, 0);
RCT2_CALLPROC_X(0x66DC83, 0, 0, 0, 0, 0, 0, 0);
return;
if (RCT2_GLOBAL(0x9DE518,uint32) & (1<<5)){
RCT2_GLOBAL(0x14241BC, uint32) = 2;
//call 0x0040705E Sets cursor position and something else. Calls maybe wind func 8 probably pointless
RCT2_GLOBAL(0x14241BC, uint32) = 0;
RCT2_GLOBAL(0x9DE518, uint32) &= ~(1<<5);
}
title_load();
return 0;// In the original this would call end_update but we get the same by returning 0
}
// The rest is the same as in scenario load and play