Mercurial > repos > blastem
comparison stateview.c @ 1868:bfacedbae5f0
Fix libretro and stateview targets
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 24 Jun 2019 09:11:38 -0700 |
parents | c9695252eff4 |
children | c3d49c338224 |
comparison
equal
deleted
inserted
replaced
1867:fa4745d42093 | 1868:bfacedbae5f0 |
---|---|
120 printf("Display %s\n", (context->regs[REG_MODE_2] & DISPLAY_ENABLE) ? "enabled" : "disabled"); | 120 printf("Display %s\n", (context->regs[REG_MODE_2] & DISPLAY_ENABLE) ? "enabled" : "disabled"); |
121 if (!(context->regs[REG_MODE_2] & DISPLAY_ENABLE)) { | 121 if (!(context->regs[REG_MODE_2] & DISPLAY_ENABLE)) { |
122 puts("Forcing display on"); | 122 puts("Forcing display on"); |
123 vdp_control_port_write(context, 0x8000 | REG_MODE_2 << 8 | context->regs[REG_MODE_2] | DISPLAY_ENABLE); | 123 vdp_control_port_write(context, 0x8000 | REG_MODE_2 << 8 | context->regs[REG_MODE_2] | DISPLAY_ENABLE); |
124 } | 124 } |
125 render_wait_quit(context); | 125 render_wait_quit(); |
126 return 0; | 126 return 0; |
127 } | 127 } |