Commit 38dac77
committed
libretro.h: warn that input polling must use base device IDs
The @param device line for retro_input_state_t documents only that the
argument is masked with RETRO_DEVICE_MASK, which in isolation reads as a
promise that subclass IDs are handled at the poll boundary. The masking is
a frontend-side convenience (RetroArch strips the subclass bits; not all
frontends do), and per the RETRO_DEVICE_SUBCLASS note, polling with a
subclass ID is reserved for future definition. Add a @warning cross-
referencing that reservation so core authors do not rely on the mask.1 parent f51961d commit 38dac77
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7716 | 7716 | | |
7717 | 7717 | | |
7718 | 7718 | | |
| 7719 | + | |
| 7720 | + | |
| 7721 | + | |
7719 | 7722 | | |
7720 | 7723 | | |
7721 | 7724 | | |
| |||
0 commit comments