mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Remove dumb getPointers that actually want the whole memory block.
The whole memory block is accessable globally anyway. Much cleaner!
This commit is contained in:
@ -126,7 +126,7 @@ CheatSearchTab::CheatSearchTab(wxWindow* const parent)
|
||||
|
||||
void CheatSearchTab::StartNewSearch(wxCommandEvent& WXUNUSED (event))
|
||||
{
|
||||
const u8* const memptr = Memory::GetPointer(0);
|
||||
const u8* const memptr = Memory::m_pRAM;
|
||||
if (memptr == nullptr)
|
||||
{
|
||||
WxUtils::ShowErrorDialog(_("A game is not currently running."));
|
||||
@ -158,7 +158,7 @@ void CheatSearchTab::StartNewSearch(wxCommandEvent& WXUNUSED (event))
|
||||
|
||||
void CheatSearchTab::FilterCheatSearchResults(wxCommandEvent&)
|
||||
{
|
||||
const u8* const memptr = Memory::GetPointer(0);
|
||||
const u8* const memptr = Memory::m_pRAM;
|
||||
if (memptr == nullptr)
|
||||
{
|
||||
WxUtils::ShowErrorDialog(_("A game is not currently running."));
|
||||
|
Reference in New Issue
Block a user