The only program that lets you flash old GBA flash carts from a slot-1 device only supports the Flash Advance cards, not X-rom. You'll still need a GBA and the linker cable to flash it. However, obviously you can still use the X-rom in your DS to play GBA titles you've already flashed to it.
Bookmarks