- [NEW] load binary to memory from inside or as arguments to exe
- Trying berserk
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user