diff options
| author | DimitriPilot3 <DimitriPilot3@gmail.com> | 2011-02-21 18:01:32 +0000 |
|---|---|---|
| committer | DimitriPilot3 <DimitriPilot3@gmail.com> | 2011-02-21 18:01:32 +0000 |
| commit | a1da2e0e4c495cc37a0c20856b36fe71db48f35e (patch) | |
| tree | 0fe0833300200994ea2736536286d83c995d22cb /Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp | |
| parent | 9bf8a58286ac8569f899230708ab7886e8f2c7d3 (diff) | |
Some fixes for the "Cheat Search" feature :
- Replace ToLong() with ToULong(), as to allow values in the [0x80000000..0xFFFFFFFF] range to be parsed correctly without failure.
- Remove the "val_base" hack, as it breaks hexadecimal values beginning with '-'.
Simply passing 0 as the second parameter to ToULong() is enough, as mentioned on this page: http://msdn.microsoft.com/en-us/library/5k9xb7x1%28v=VS.100%29.aspx
- Changed the error message (and some of its translations) to reflect that octal values are now auto-detected ("supported") as well.
To users:
Note that values beginning with '0' (not "0x" nor "0X") are now interpreted as octal values instead of decimal values. So be careful when using those!
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7223 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp')
0 files changed, 0 insertions, 0 deletions
