mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-12 19:19:03 +00:00
finished dialogs for memory checks and breakpoints
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@76 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
185a214329
commit
dc717f7283
12 changed files with 137 additions and 27 deletions
|
@ -22,7 +22,7 @@
|
|||
#include "TestFramework.h"
|
||||
|
||||
// faster than sscanf
|
||||
u32 AsciiToHex(const char* _szValue)
|
||||
bool AsciiToHex(const char* _szValue, u32& result)
|
||||
{
|
||||
u32 value = 0;
|
||||
size_t finish = strlen(_szValue);
|
||||
|
@ -126,12 +126,13 @@ u32 AsciiToHex(const char* _szValue)
|
|||
break;
|
||||
|
||||
default:
|
||||
value >>= 4;
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return(value);
|
||||
result = value;
|
||||
return (true);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ bool TryParseUInt(const std::string& str, u32* output);
|
|||
|
||||
|
||||
// TODO: kill this
|
||||
u32 AsciiToHex(const char* ascii);
|
||||
bool AsciiToHex(const char* _szValue, u32& result);
|
||||
|
||||
void SplitString(const std::string& str, const std::string& delim, std::vector<std::string>& output);
|
||||
int ChooseStringFrom(const char* str, const char* * items);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue