mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-06-09 07:29:36 +00:00
control: Narrow the scope of local variable.
This commit is contained in:
parent
ca9657baf1
commit
9af1b1a720
|
@ -282,9 +282,9 @@ uint32_t ControlVideo::read(uint32_t rgn_start, uint32_t offset, int size)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t value;
|
|
||||||
|
|
||||||
if (rgn_start == this->regs_base) {
|
if (rgn_start == this->regs_base) {
|
||||||
|
uint32_t value;
|
||||||
|
|
||||||
switch (offset >> 4) {
|
switch (offset >> 4) {
|
||||||
case ControlRegs::CUR_LINE:
|
case ControlRegs::CUR_LINE:
|
||||||
value = 0; // current active video line should relate this to refresh rate
|
value = 0; // current active video line should relate this to refresh rate
|
||||||
|
|
Loading…
Reference in New Issue
Block a user