- [NEW] load binary to memory from inside or as arguments to exe

- Trying berserk
This commit is contained in:
2024-04-25 06:41:35 +02:00
parent b05ce14a95
commit 7eb5df248f
7 changed files with 65 additions and 6 deletions

View File

@@ -2,6 +2,7 @@
#include "z80.h"
#include "zx_ula.h"
#include <SDL2/SDL.h>
#include "zx_tape.h"
namespace zxscreen
{
@@ -143,6 +144,8 @@ namespace zxscreen
void redraw()
{
if (zx_tape::berserk()) return;
Uint32* pixels;
int pitch;
SDL_LockTexture(tex, NULL, (void**)&pixels, &pitch);