console_esp32::panel_update_thread: read_word could cause exceptions in both emulated system and "hv"
This commit is contained in:
parent
2e76dbc975
commit
75de9b9ffe
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ void console_esp32::panel_update_thread()
|
||||||
if (panel_mode == PM_BITS) {
|
if (panel_mode == PM_BITS) {
|
||||||
uint32_t full_addr = b->getMMU()->calculate_physical_address(c, run_mode, current_PC, false, false, i_space);
|
uint32_t full_addr = b->getMMU()->calculate_physical_address(c, run_mode, current_PC, false, false, i_space);
|
||||||
|
|
||||||
uint16_t current_instr = b->read_word(current_PC);
|
uint16_t current_instr = b->peek_word(current_PC);
|
||||||
|
|
||||||
for(uint8_t b=0; b<22; b++)
|
for(uint8_t b=0; b<22; b++)
|
||||||
pixels.setPixelColor(b, full_addr & (1 << b) ? led_color : 0);
|
pixels.setPixelColor(b, full_addr & (1 << b) ? led_color : 0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue