Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
81-libretro
Commits
df3e9299
Unverified
Commit
df3e9299
authored
Aug 12, 2018
by
Andre Leiradella
Committed by
GitHub
Aug 12, 2018
Browse files
Revert "add memory hooks for cheat/rumble"
parent
d8234655
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libretro.cpp
View file @
df3e9299
...
...
@@ -18,8 +18,6 @@ extern "C"
#include <gamedb/sha1.h>
}
extern
BYTE
memory
[];
#define RETRO_DEVICE_SINCLAIR_KEYBOARD RETRO_DEVICE_SUBCLASS(RETRO_DEVICE_KEYBOARD, 0)
#define RETRO_DEVICE_CURSOR_JOYSTICK RETRO_DEVICE_SUBCLASS(RETRO_DEVICE_JOYPAD, 0)
...
...
@@ -395,15 +393,11 @@ bool retro_load_game( const struct retro_game_info* info )
size_t
retro_get_memory_size
(
unsigned
id
)
{
if
(
id
==
RETRO_MEMORY_SYSTEM_RAM
)
return
1024
*
1024
;
return
0
;
}
void
*
retro_get_memory_data
(
unsigned
id
)
{
if
(
id
==
RETRO_MEMORY_SYSTEM_RAM
)
return
memory
;
return
NULL
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment