mirror of https://github.com/nmlgc/ReC98.git
[Maintenance] [th03] Random number ring buffer: Declare the `_far` instance
Needs capital letters because of the `pascal` calling convention. Part of P0280, funded by [Anonymous], Blue Bolt, and JonathKane.
This commit is contained in:
parent
20bac82005
commit
e93bd6d11c
|
@ -4,6 +4,11 @@ uint16_t near randring1_next16(void);
|
|||
uint16_t pascal near randring1_next16_and(uint16_t mask);
|
||||
uint16_t pascal near randring2_next16_and(uint16_t mask);
|
||||
uint16_t pascal near randring2_next16_mod(uint16_t mask);
|
||||
#if (GAME == 3)
|
||||
uint16_t far randring_far_next16(void);
|
||||
uint16_t pascal far randring_far_next16_and(uint16_t mask);
|
||||
uint16_t pascal far randring_far_next16_mod(uint16_t mask);
|
||||
#endif
|
||||
|
||||
/// Constrained random numbers
|
||||
/// --------------------------
|
||||
|
|
|
@ -16827,7 +16827,7 @@ main_04_TEXT segment byte public 'CODE' use16
|
|||
assume es:nothing, ss:nothing, ds:_DATA, fs:nothing, gs:nothing
|
||||
|
||||
RANDRING_NEXT_DEF 2, near
|
||||
RANDRING_NEXT_DEF _far, far
|
||||
RANDRING_NEXT_DEF _FAR, far
|
||||
main_04_TEXT ends
|
||||
|
||||
COLLMAP_TEXT segment byte public 'CODE' use16
|
||||
|
|
Loading…
Reference in New Issue