State lawmakers are in overtime trying to come to a budget deal by midnight on Wednesday.

Among the big issues still on the table is how to adequately fund SUNY Downstate Medical Center in Brooklyn.

Earlier this year, there were conversations about closing the hospital altogether since there were too few patients, and the facility was operating at a loss of about $100 million.

But state lawmakers pushed back.

Their budget proposals include the formation of a committee that will explore ways to keep the hospital up and running.

Legislators also proposed paying off the hospital’s $200 million debt over two years, and providing $300 million to the medical center’s future expenses.

State Sen. Zellnor Myrie, who represents Central Brooklyn, including the neighborhoods of Crown Heights, Park Slope and Prospect Heights, joined NY1 political anchor Errol Louis on “Inside City Hall” Tuesday to discuss SUNY Downstate, the state budget and more.

“We have said pretty clearly from day one that we accept that this institution does have room to grow and there are things that need to be worked on. But this is a result of decades of disinvestment of health care in Central Brooklyn and also a result of systemic problems in our health care system,” he said.