Revision 3b4b86aa hw/smc91c111.c

b/hw/smc91c111.c
250 250
{
251 251
    smc91c111_state *s = (smc91c111_state *)opaque;
252 252

  
253
    offset = offset & 0xf;
253 254
    if (offset == 14) {
254 255
        s->bank = value;
255 256
        return;
......
421 422
{
422 423
    smc91c111_state *s = (smc91c111_state *)opaque;
423 424

  
425
    offset = offset & 0xf;
424 426
    if (offset == 14) {
425 427
        return s->bank;
426 428
    }

Also available in: Unified diff