PFW-1386 Address should accept hexidecimal values
Now these are equal: M707 A255 C1 M707 A0xFF C1 Both address inputs are interpreted as FF
This commit is contained in:
parent
ba7dae5c79
commit
d78c575399
|
|
@ -8711,7 +8711,7 @@ Sigma_Exit:
|
|||
if ( MMU2::mmu2.Enabled() )
|
||||
{
|
||||
if( code_seen('A') ) {
|
||||
addr = code_value_uint8();
|
||||
addr = uint8_t(strtol(strchr_pointer+1, NULL, 0));
|
||||
}
|
||||
if( code_seen('C') ) {
|
||||
nrbytes = code_value_uint8();
|
||||
|
|
@ -8742,7 +8742,7 @@ Sigma_Exit:
|
|||
if ( MMU2::mmu2.Enabled() )
|
||||
{
|
||||
if( code_seen('A') ) {
|
||||
addr = code_value_uint8();
|
||||
addr = uint8_t(strtol(strchr_pointer+1, NULL, 0));
|
||||
}
|
||||
if( code_seen('X') ) {
|
||||
data = code_value_uint8();
|
||||
|
|
|
|||
Loading…
Reference in New Issue