mirror of
https://github.com/holub/mame
synced 2025-05-31 01:51:46 +03:00
Added RES_R macro to rescap.h. (no whatsnew)
This commit is contained in:
parent
c7d0b7bb64
commit
0ca7a8a7a8
@ -2,6 +2,7 @@
|
||||
#define RC_MACROS_H
|
||||
|
||||
/* Little helpers for magnitude conversions */
|
||||
#define RES_R(res) ((double)(res))
|
||||
#define RES_K(res) ((double)(res) * 1e3)
|
||||
#define RES_M(res) ((double)(res) * 1e6)
|
||||
#define CAP_U(cap) ((double)(cap) * 1e-6)
|
||||
|
Loading…
Reference in New Issue
Block a user