support for hotpatching to restore ADV patch support

This commit is contained in:
Ondřej Novák 2025-03-25 19:47:01 +01:00
parent 2be7f5d2b2
commit 04b57b4088
14 changed files with 168 additions and 278 deletions

View file

@ -67,7 +67,7 @@ static char promacknuti(int id,int xa,int ya,int xr,int yr)
word *w;
z=ablock(H_MENU_MASK);w=(word *)z;
z+=6+512;
z+=6+512;
z+=xr+yr*w[0];
vymacknout(id,xa,ya,xr,yr);
if (*z!=0) cur_dir[*z-1]=SELECT;
@ -123,7 +123,7 @@ jp1:lodsb
}
}*/
static const void *nahraj_rozdilovy_pcx(const void *pp, int32_t *s)
static const void *nahraj_rozdilovy_pcx(const void *pp, int32_t *s, int h)
{
char *org,*pos;
char *vysl;