A little late but I ran into this exact same issue and finally got it to work. Maybe it's obvious but make sure you are using the correct action replay code to the region of the rom, screenshot from the source code:
For example, if you patched the USA version of Phantom Hourglass, use the AR...