Unverified Commit b3608533 authored by Andre Leiradella's avatar Andre Leiradella Committed by GitHub
Browse files

Merge pull request #9 from libretro/revert-8-master

Revert "add memory hooks for cheat/rumble"
parents d8234655 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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment