Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

Update drv.cpp#4

Open
poglad wants to merge 1 commit into
dmitrysmagin:masterfrom
poglad:patch-1
Open

Update drv.cpp#4
poglad wants to merge 1 commit into
dmitrysmagin:masterfrom
poglad:patch-1

Conversation

@poglad
Copy link
Copy Markdown

@poglad poglad commented May 23, 2020

Prevent corruption of .cfg file when a rom is loaded via the command line. (It always saved the default config over the top of the .cfg file before loading the .cfg file.)

(Apologies, I may have changed the line-endings on a couple of other lines, sorry guys. CRLF whatever.)

Prevent corruption of .cfg file when a rom is loaded via the command line. (It always saved the default config over the top of the .cfg file before loading the .cfg file.)
Comment thread src/sdl-dingux/drv.cpp
@@ -1,5 +1,5 @@
// Driver Init module
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This CRLF is unintended, pls ignore it.

Comment thread src/sdl-dingux/drv.cpp
ConfigGameLoad();
// InputMake(true);

// GameInpDefault();
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This CRLF is unintended, pls ignore it.

Comment thread src/sdl-dingux/drv.cpp
int DrvInit(int nDrvNum, bool bRestore)
{
DrvExit(); // Make sure exitted
if (bDrvOkay) {
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the actual change that fixes the issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant