No need to do the conversion ourselves like the DOS code did.
| 110 | |
| 111 | // No need to do the conversion ourselves like the DOS code did. |
| 112 | s32 strToInt(const char* str) |
| 113 | { |
| 114 | char* endPtr; |
| 115 | return strtol(str, &endPtr, 10); |
| 116 | } |
| 117 | |
| 118 | u32 strToUInt(const char* str) |
| 119 | { |
no outgoing calls
no test coverage detected