| 960 | #endif |
| 961 | |
| 962 | static bool readintx (TCHAR **c, uae_u32 *valp) |
| 963 | { |
| 964 | uae_u32 val = 0; |
| 965 | TCHAR nc; |
| 966 | int negative = 0; |
| 967 | |
| 968 | ignore_ws (c); |
| 969 | negative = checkisneg(c); |
| 970 | if (!isdigit (peekchar (c))) |
| 971 | return false; |
| 972 | while (isdigit (nc = **c)) { |
| 973 | (*c)++; |
| 974 | val *= 10; |
| 975 | val += nc - '0'; |
| 976 | } |
| 977 | *valp = val * (negative ? -1 : 1); |
| 978 | return true; |
| 979 | } |
| 980 | |
| 981 | static int checkvaltype2(TCHAR **c, uae_u32 *val, debugfloatx80 *valx80, TCHAR def) |
| 982 | { |
no test coverage detected