mirror of
https://github.com/dingusdev/dingusppc.git
synced 2026-04-23 21:17:03 +00:00
Fixing compile issues
This commit is contained in:
committed by
Maxim Poliakovski
parent
fa5e8b0bf8
commit
65d414bd4e
@@ -223,7 +223,8 @@ uint32_t AMIC::read(uint32_t rgn_start, uint32_t offset, int size)
|
||||
return 0;
|
||||
case SCC_DMA_Rcv_A_Ctrl: {
|
||||
uint32_t value = std::rand() & (-1U >> (32 - size * 8));
|
||||
LOG_F(WARNING, "AMIC SCC Receive Ch A DMA Ctrl read @%x.%c = %0*x", offset, SIZE_ARG(size), size * 2, value);
|
||||
LOG_F(WARNING, "AMIC SCC Receive Ch A DMA Ctrl read @%x.%c = %0*x", offset,
|
||||
SIZE_ARG(size), size * 2, value);
|
||||
return value;
|
||||
}
|
||||
case SCC_DMA_Xmt_B_Ctrl:
|
||||
@@ -234,8 +235,10 @@ uint32_t AMIC::read(uint32_t rgn_start, uint32_t offset, int size)
|
||||
return 0;
|
||||
case SCC_DMA_Rcv_B_Ctrl: {
|
||||
uint32_t value = std::rand() & (-1U >> (32 - size * 8));
|
||||
LOG_F(WARNING, "AMIC SCC Receive Ch B DMA Ctrl read @%x.%c = %0*x", offset, SIZE_ARG(size), size * 2, value);
|
||||
LOG_F(WARNING, "AMIC SCC Receive Ch B DMA Ctrl read @%x.%c = %0*x",
|
||||
offset, SIZE_ARG(size), size * 2, value);
|
||||
return value;
|
||||
}
|
||||
default:
|
||||
LOG_F(WARNING, "Unknown AMIC register read, offset=%x", offset);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user