Final Burn Neo > FBN Development

SDL2 src code to set the use of UniBIOS with NeoGeo games

(1/1)

cjom:
Hello!
Allow me to share some code changes that have been testing...


To set the use of UniBIOS with NeoGeo games with a command line parameter, one can add a variable `bool useUniBIOS = false;` to src/burner/sdl/main.cpp and then in parseSwitches function https://github.com/libretro/FBNeo/blob/f5ee2bbd300b864d7dff6a42ee3c4eb409e25f50/src/burner/sdl/main.cpp#L50 add:

--- Code: ---if (strcmp(argv[i] + 1, "unibios") == 0) useUniBIOS = true;

--- End code ---
(also adapt usage hint text)

Then, in src\burn\drv\neogeo\neo_run.cpp we need to add `extern bool useUniBIOS;` and also:

--- Code: ---if (useUniBIOS) NeoSystem = 0x93;
--- End code ---
right after `nBIOS = 9999;` in https://github.com/libretro/FBNeo/blob/f5ee2bbd300b864d7dff6a42ee3c4eb409e25f50/src/burn/drv/neogeo/neo_run.cpp#L4283

Now we can call UniBIOS cheat menu pressing Coin+Start   :cool:

Navigation

[0] Message Index

Go to full version