Search found 58 matches

by gocha
Sun Jan 16, 2011 4:32 am
Forum: Snes9x Public Development Forum
Topic: Add Lua 5.1 script engine core
Replies: 8
Views: 36472

Why "only for windows version?" Because, I use/maintain only windows version, and there are unfortunately no dev members who are interested in Lua. If you want to run Lua on your platform, pass your script to RunLuaScriptFile() in lua-engine.cpp. (DeHackEd's first snes9x-lua seems to run ...
by gocha
Sun Jan 16, 2011 2:34 am
Forum: Snes9x Public Development Forum
Topic: Add Lua 5.1 script engine core
Replies: 8
Views: 36472

Add Lua 5.1 script engine core

Diff for versioned files http://pastebin.com/xiwJmC18 New source files and libs http://gocha.is.land.to/down/private/snes9xgit-lua-additional-codes-libs.zip Oops, I forgot to add drag and drop support for Lua. Here it is. http://pastebin.com/7ZbjRNdU Few of Notes - Windows Lua library should not be ...
by gocha
Mon Jan 10, 2011 1:38 pm
Forum: Snes9x Public Development Forum
Topic: [Fixed] windows: Add and fix Autofire for D-pad.
Replies: 1
Views: 12542

[Fixed] windows: Add and fix Autofire for D-pad.

windows: Add and fix Autofire for D-pad.

http://pastebin.com/PdRjYvH6

If d-pad support for TempTurbo is also needed, we have to modify the code a little more.
by gocha
Mon Jan 10, 2011 1:35 pm
Forum: Snes9x Public Development Forum
Topic: [Fixed] windows: Fix "Turbo Down mode" of Hotkey C
Replies: 1
Views: 10479

[Fixed] windows: Fix "Turbo Down mode" of Hotkey C

windows: Fix "Turbo Down mode" of Hotkey Config dialog.

http://pastebin.com/JKxUfd6c
by gocha
Mon Jan 10, 2011 1:35 pm
Forum: Snes9x Public Development Forum
Topic: [Fixed] windows: Improved window resize accuracy
Replies: 1
Views: 11542

[Fixed] windows: Improved window resize accuracy

windows: Improved window resize accuracy, it should work better for 1x.

Thanks: http://blogs.msdn.com/b/oldnewthing/arc ... 54885.aspx

http://pastebin.com/Cup1ZdA1
by gocha
Mon Jan 10, 2011 1:42 am
Forum: Snes9x Public Development Forum
Topic: [Fixed] Movie desync because of imperfect reset
Replies: 1
Views: 10537

It was because of CPU.FastROMSpeed. The latest code resets it in S9xSoftResetCPU, so I think it's already fixed.
by gocha
Sat Jan 08, 2011 10:58 pm
Forum: Snes9x Public Development Forum
Topic: [Fixed] Movie desync because of imperfect reset
Replies: 1
Views: 10537

[Fixed] Movie desync because of imperfect reset

Snes9x 1.52: While S9xReset doesn't reset previous emulation result perfectly, movie playback desyncs randomly. The easiest way to fix the issue is use LoadLastROM instead of S9xReset (like 1.51 does). I'll write later if I can see what is missing in S9xReset. SMV 1.52: http://www.mediafire.com/?ky9...
by gocha
Sat Jan 08, 2011 3:03 pm
Forum: Snes9x Public Development Forum
Topic: [Fixed] Fix assertion fault on VS2008 debug build
Replies: 8
Views: 25384

BearOso wrote:Ok, a little research shows that the FILE objects might be managed by the C library, so fclose won't leave it intact. I've checked it in valgrind, any no leak comes from there, so it should be fine.
I checked your update and it worked fine. Thanks.
by gocha
Sat Jan 08, 2011 2:28 pm
Forum: Snes9x Public Development Forum
Topic: [Fixed] Fix wrong logic of snapshot inconsistent with movie
Replies: 2
Views: 11746

BearOso wrote:Committed.

Also, if you post any more patches, could you just upload them somewhere like pastebin instead of putting it directly in the post? The Snes9x forums badly mangle the whitespace.
Thank you very much, I'll do so next time.
by gocha
Tue Jan 04, 2011 2:38 pm
Forum: Snes9x Public Development Forum
Topic: [Fixed] Fix wrong logic of snapshot inconsistent with movie
Replies: 2
Views: 11746

[Fixed] Fix wrong logic of snapshot inconsistent with movie

One of fatal glitches since 1.51. diff --git a/movie.cpp b/movie.cpp index de5dc48..9286b8f 100644 --- a/movie.cpp +++ b/movie.cpp @@ -745,7 +745,8 @@ int S9xMovieUnfreeze (uint8 *buf, uint32 size) } else { - if (current_frame > Movie.MaxFrame || current_sample > Movie.MaxSample || memcmp(Movie.Inpu...
by gocha
Tue Jan 04, 2011 2:35 pm
Forum: Snes9x Public Development Forum
Topic: [Fixed] Fix assertion fault on VS2008 debug build
Replies: 8
Views: 25384

Also, current snes9xgit master might cause another assertion error, when opening a movie from movie open dialog, if it's not my fault. (I guess it's because both fd and stream points the same file description. I don't know how it should be fixed.)
by gocha
Tue Jan 04, 2011 2:32 pm
Forum: Snes9x Public Development Forum
Topic: [Fixed] Fix assertion fault on VS2008 debug build
Replies: 8
Views: 25384

[Fixed] Fix assertion fault on VS2008 debug build

Prevented refering erased iterator. diff --git a/conffile.cpp b/conffile.cpp index 94983e7..5f437ab 100644 --- a/conffile.cpp +++ b/conffile.cpp @@ -459,19 +459,21 @@ char *ConfigFile::GetStringDup(const char *key, const char *def){ bool ConfigFile::SetString(const char *key, string val, const char ...
by gocha
Sun Jan 02, 2011 12:43 pm
Forum: Snes9x Tech Support and Bug Tracking
Topic: Snes9x 1.52 question
Replies: 19
Views: 66398

What you need to do is split this into source patches that can be reviewed and merged. Clone the respective git repository at: http://github.com/snes9xgit/snes9x and generate patches using "git format-patch" or even just "git diff" for each group of related changes. Thank you, B...
by gocha
Fri Dec 31, 2010 5:01 am
Forum: Snes9x Tech Support and Bug Tracking
Topic: Snes9x 1.52 question
Replies: 19
Views: 66398

I'd first start with speaking to Ryan. I sent him a PM. I would post what you have and want to do in the public dev forum and see what the current devs think. I don't really control the coding aspect of Snes9x, just the site and forums. So, I come back to this forum. What I want to do are: Merge fi...
by gocha
Sat Oct 02, 2010 3:11 am
Forum: Snes9x Tech Support and Bug Tracking
Topic: Snes9x 1.52 question
Replies: 19
Views: 66398

Yikes. From reading over some recent commits, it appears you're directly copying GPL code into Snes9x. You said about Anti-Grain Geometry (AGG) library, right? I've replaced agg-2.5 (GPL) by agg-2.4 (BSD-licensed) now. By the way, I wonder how a developer can join the official snes9x development pr...
by gocha
Sun Sep 26, 2010 5:33 am
Forum: Snes9x Tech Support and Bug Tracking
Topic: Snes9x 1.52 question
Replies: 19
Views: 66398

I'm very happy if you official developers import my fixes/additions from rerecording version.

... since I need to apply the same fix every time the official version gets updated.
by gocha
Mon Jan 18, 2010 12:42 am
Forum: Snes9x Public Development Forum
Topic: Snes9x 1.52 is now dead due to Snes9X 1.53 being out
Replies: 140
Views: 970175

OV2 ! Thanks millions for this 'personal' build... works just fine except rom dialogue box doesn't pop-up so i have to use 'recent rom' menu to select rom image.. Is this Win9x specific problem or official bug ? just curious... anyway, i really appriciate it !! :wink: No idea why this doesn't work ...
by gocha
Thu Jan 14, 2010 2:56 pm
Forum: Snes9x Public Development Forum
Topic: Snes9x 1.52 is now dead due to Snes9X 1.53 being out
Replies: 140
Views: 970175

OV2 wrote:(optimizations disabled for cpu.cpp)
http://code.google.com/p/snes9x-rr/source/detail?r=69 ?