notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5de3ba
)
Return correct memory info for SMS
author
Andre Leiradella
<andre@leiradella.com>
Tue, 18 Apr 2017 20:08:50 +0000
(21:08 +0100)
committer
Andre Leiradella
<andre@leiradella.com>
Tue, 18 Apr 2017 20:08:50 +0000
(21:08 +0100)
platform/libretro/libretro.c
patch
|
blob
|
blame
|
history
diff --git
a/platform/libretro/libretro.c
b/platform/libretro/libretro.c
index
a1cf22c
..
934b685
100644
(file)
--- a/
platform/libretro/libretro.c
+++ b/
platform/libretro/libretro.c
@@
-1126,7
+1126,7
@@
void *retro_get_memory_data(unsigned type)
break;
case RETRO_MEMORY_SYSTEM_RAM:
if (PicoAHW & PAHW_SMS)
- data = Pico.
vramb
;
+ data = Pico.
zram
;
else
data = Pico.ram;
break;
@@
-1162,7
+1162,7
@@
size_t retro_get_memory_size(unsigned type)
case RETRO_MEMORY_SYSTEM_RAM:
if (PicoAHW & PAHW_SMS)
- return
sizeof(Pico.vramb)
;
+ return
0x2000
;
else
return sizeof(Pico.ram);