* Toggle certain rendering planes * emu.setrenderingplanes(sprites, background) * Accepts two (lua) boolean values and acts accordingly */
| 409 | * Accepts two (lua) boolean values and acts accordingly |
| 410 | */ |
| 411 | static int emu_setrenderplanes(lua_State *L) { |
| 412 | bool sprites = (lua_toboolean( L, 1 ) == 1); |
| 413 | bool background = (lua_toboolean( L, 2 ) == 1); |
| 414 | FCEUI_SetRenderPlanes(sprites, background); |
| 415 | return 0; |
| 416 | } |
| 417 | |
| 418 | /////////////////////////// |
| 419 |
nothing calls this directly
no test coverage detected