Mercurial > repos > blastem
comparison vdp.h @ 1401:b56c8c51ca5d
Properly release and reacquire framebuffer pointer when switching contexts. Hopefully fixes the LOCKRECT issue some people are seeing with the SDL 2 fallback renderer
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 15 Jun 2017 09:45:21 -0700 |
parents | e587f16e7d3d |
children | 4e5797b3935a |
comparison
equal
deleted
inserted
replaced
1400:6a0e3bb6981f | 1401:b56c8c51ca5d |
---|---|
246 void latch_mode(vdp_context * context); | 246 void latch_mode(vdp_context * context); |
247 uint32_t vdp_cycles_to_frame_end(vdp_context * context); | 247 uint32_t vdp_cycles_to_frame_end(vdp_context * context); |
248 void write_cram(vdp_context * context, uint16_t address, uint16_t value); | 248 void write_cram(vdp_context * context, uint16_t address, uint16_t value); |
249 void vdp_check_update_sat_byte(vdp_context *context, uint32_t address, uint8_t value); | 249 void vdp_check_update_sat_byte(vdp_context *context, uint32_t address, uint8_t value); |
250 void vdp_pbc_pause(vdp_context *context); | 250 void vdp_pbc_pause(vdp_context *context); |
251 void vdp_release_framebuffer(vdp_context *context); | |
252 void vdp_reacquire_framebuffer(vdp_context *context); | |
251 | 253 |
252 #endif //VDP_H_ | 254 #endif //VDP_H_ |