Combine rice, soy sauce, mirin, flour, spring onion and pepper and mix well.
Divide mixture into 10 equal portions and roll into balls. Flatten each rice ball slightly to form rice cakes. Sprinkle both sides with white or black sesame.
Fry rice patties in hot oil over medium heat until golden brown.