mirror of
https://github.com/afska/gba-link-connection.git
synced 2026-04-25 16:23:41 -05:00
Setting LinkUniversal's max players default value to 5
This commit is contained in:
parent
c99c34ea81
commit
ea7089c931
|
|
@ -253,7 +253,7 @@ Name | Type | Default | Description
|
|||
`wirelessOptions` | **LinkUniversal::WirelessOptions** | *same as LinkWireless* | All the [📻 LinkWireless](#-LinkWireless) constructor parameters in one *struct*.
|
||||
|
||||
You can also change these compile-time constants:
|
||||
- `LINK_UNIVERSAL_MAX_PLAYERS`: to set a maximum number of players. The default value is `4` (LinkCable's limit) but can be increased to `5` to support larger wireless rooms.
|
||||
- `LINK_UNIVERSAL_MAX_PLAYERS`: to set a maximum number of players. The default value is `5`, but since LinkCable's limit is `4`, you might want to decrease it.
|
||||
- `LINK_UNIVERSAL_GAME_ID_FILTER`: to restrict wireless connections to rooms with a specific game ID (`0x0000` - `0x7fff`). The default value (`0`) connects to any game ID and uses `0x7fff` when serving.
|
||||
|
||||
## Methods
|
||||
|
|
|
|||
|
|
@ -51,8 +51,8 @@
|
|||
#include "LinkCable.hpp"
|
||||
#include "LinkWireless.hpp"
|
||||
|
||||
// Max players. Default = 4 (LinkCable's limit), but can be increased to 5
|
||||
#define LINK_UNIVERSAL_MAX_PLAYERS LINK_CABLE_MAX_PLAYERS
|
||||
// Max players. Default = 5
|
||||
#define LINK_UNIVERSAL_MAX_PLAYERS LINK_WIRELESS_MAX_PLAYERS
|
||||
|
||||
// Game ID Filter. Default = 0 (no filter)
|
||||
#define LINK_UNIVERSAL_GAME_ID_FILTER 0
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user