- [FIX] Corregit el acces als port amb OUT
- [NEW] Nou model de gestió de memòria
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "zx_128pageviewer.h"
|
||||
#include "z80.h"
|
||||
#include "z80mem.h"
|
||||
#include "zx_mem.h"
|
||||
|
||||
void zx_128pageviewer::show()
|
||||
{
|
||||
@@ -22,7 +22,7 @@ void zx_128pageviewer::refresh()
|
||||
|
||||
Uint32 *pixels;
|
||||
int pitch;
|
||||
const uint8_t *tags = z80mem::get()->rawTagPtr(0);
|
||||
const uint8_t *tags = mem::rawTagPtr(0);
|
||||
SDL_LockTexture(tex, NULL, (void**)&pixels, &pitch);
|
||||
for (int i=0; i<131072; ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user