- Hui no he fet una merda... pero es mi merda
This commit is contained in:
17
gbscreen.cpp
17
gbscreen.cpp
@@ -17,9 +17,9 @@ namespace zxscreen
|
||||
SDL_Texture *tex = nullptr;
|
||||
SDL_Texture *uitex = nullptr;
|
||||
|
||||
uint32_t t_states_total = 69888;
|
||||
uint32_t t_states_per_scanline = 224;
|
||||
uint32_t vsync_lines = 16;
|
||||
uint32_t t_states_total = 70224;
|
||||
uint32_t t_states_per_scanline = 456;
|
||||
uint32_t vsync_lines = 10;
|
||||
|
||||
uint8_t zoom = 1;
|
||||
bool fullscreen = false;
|
||||
@@ -30,18 +30,11 @@ namespace zxscreen
|
||||
uint32_t time=0;
|
||||
|
||||
uint32_t t_screen = 0;
|
||||
uint8_t t_flash = 0;
|
||||
bool flash = false;
|
||||
|
||||
int pixels_draw = 0;
|
||||
|
||||
uint16_t pixel_base_addr = 0x4000;
|
||||
uint16_t color_base_addr = 0x5800;
|
||||
|
||||
uint16_t *pixel_addr = nullptr; //[69888];
|
||||
uint16_t *color_addr = nullptr; //[69888];
|
||||
uint8_t zx_pixels[352*296];
|
||||
uint8_t *ptr_pixel = zx_pixels;
|
||||
uint8_t gb_pixels[160*144];
|
||||
uint8_t *ptr_pixel = gb_pixels;
|
||||
|
||||
#define SCREEN_SYNC 0xFFFF
|
||||
#define SCREEN_BORDER 0xFFFE
|
||||
|
||||
Reference in New Issue
Block a user