Fixed compilation warning
This commit is contained in:
parent
a086acde87
commit
97174cea80
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ protected:
|
||||||
|
|
||||||
void WriteRegister(uint16_t addr, uint8_t value) override
|
void WriteRegister(uint16_t addr, uint8_t value) override
|
||||||
{
|
{
|
||||||
uint8_t latch = addr;
|
uint8_t latch = (uint8_t)addr;
|
||||||
if(addr == 0x8000) {
|
if(addr == 0x8000) {
|
||||||
latch = value;
|
latch = value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue