1
0
mirror of synced 2024-11-23 22:51:02 +01:00

Add update event

This commit is contained in:
BroGamer 2022-09-18 11:07:54 +12:00
parent cc469e1fd4
commit 8bba5b17eb

View File

@ -123,6 +123,10 @@ u16 __fastcall bnusio_GetCoin (i32 a1) {
touchCallback (0, 0, cardData, touchData);
}
}
for (int i = 0; plugins[i] != 0; i++) {
FARPROC updateEvent = GetProcAddress (plugins[i], "Update");
if (updateEvent) ((event *)updateEvent) ();
}
if (attachCallback) attachCallback (0, 0, attachData);
return coin_count;
}