gocha
2afcfc4589
Lua: add basic callback functions; emu.registerbefore, emu.registerafter, emu.registerstart, emu.registerexit
2012-08-05 15:45:56 +09:00
gocha
128c544998
win32: drag and drop for *.wch and *.lua
2012-08-05 07:02:38 +09:00
gocha
3cac797bfb
win32: drag and drop support for snes9x movie (*.smv)
2012-08-05 06:43:51 +09:00
gocha
d5945b06de
Change the reset timing of pad_read to resolve a sort of traditional 1-frame delay problems. It still has 1-frame delay problem. However, unless you're using non-Windows port or MessagesInImage=TRUE, you shouldn't experience it anymore.
...
For me, it's not so easy to solve those traditional timing issues...
Add IPPU.InMainLoop for future use.
2012-08-04 15:30:24 +09:00
gocha
d11b17327c
Add IPPU.TotalEmulatedFrames and IPPU.PadIgnoredFrames to snapshot
...
To save our RR-version-only variables without losing compatibility, a chunk for that is added to the end of snapshot.
2012-08-04 14:49:55 +09:00
gocha
a7695760f2
Add lag frame count display, instead of "ignored" sign.
...
Adjust reset timing:
- move IPPU.TotalEmulatedFrames initialization from InitROM to S9xResetPPU (part of S9xReset)
- reset pad_read in S9xResetPPU (it must be reset at the beginning of emulation including movie playing/recording, otherwise the lag frame count can show a different value, because of the first frame.)
2012-08-04 13:37:00 +09:00
gocha
b6525112fb
Remove MovieNotifyIgnored setting
...
Reasons,
1. Most players don't need it. It's probably only used by TASers.
2. However, as for TASers, it's less useful than lag frame count display. (i.e. how many frames have been ignored)
2012-08-04 08:33:19 +09:00
gocha
40c12d0890
provide movie-free frame count display
2012-08-04 08:01:19 +09:00
gocha
c2a78a5388
Fix a little mistakes
...
win32: remove "Toggled fast forward mode" checkbox, and give "fast forward toggle" hotkey
2012-08-04 06:57:36 +09:00
gocha
edf0bb2e10
win32: remove "Toggled fast forward mode" checkbox, and give "fast forward toggle" hotkey
2012-08-03 08:05:57 +09:00
gocha
deff1aae43
Merge branch 'master' of https://github.com/snes9xgit/snes9x
...
Conflicts:
gfx.cpp
win32/_tfwopen.h
2012-07-31 07:50:50 +09:00
OV2
fcdc393e2b
win32: make __forceinline tfw functions static (gocha)
2012-07-30 19:48:21 +02:00
OV2
365f30fcd8
Adjust input display position if displaying movie frame counter (gocha)
2012-07-30 19:18:14 +02:00
gocha
34cb93dc1c
win32: _tfwopen.h - removed xxxxA functions from non-UNICODE build, it was redundant.
2012-07-27 10:47:09 +09:00
gocha
e5d08c9a03
win32: lua-engine.cpp should use CRT fopen rather than the one replaced by _tfwopen.h
...
Still, lua-engine.cpp might want to use ANSIToWide function.
Therefore, I redefined those functions in lua-engine.cpp
It looks ugly. I wish I could know a better solution.
2012-07-27 10:23:47 +09:00
gocha
4de0dd491c
win32: _tfwopen.h - _rename => rename, since MSVCRT doesn't have _rename.
2012-07-27 09:11:51 +09:00
gocha
93b4a200b7
win32: Unicode - change Lua code page from CP_UTF8 to CP_ACP
...
TODO
- fopen in lua-engine.cpp can be a problem. (needs to call a real fopen in C runtime)
2012-07-25 07:30:29 +09:00
gocha
1e2dd85321
win32: add AnsiToWide/WideToAnsi functions. This change is for Lua (non-Unicode DLL) and external modules (Lua-GD, for instance).
2012-07-25 07:18:33 +09:00
gocha
6fb8ae96b1
CRLF => LF, oops
2012-07-25 00:15:28 +09:00
gocha
ae85998e81
add lua scripting engine (no useful functions yet)
...
Notes:
- library download link for convenience http://www.mediafire.com/?gokgoyvo6936l6b
- Unicode version passes UTF-8 string to lua51.dll, but the dll will process the string as a non-Unicode string. Therefore, Lua of Unicode version sometimes might cause a problem with multi-byte characters.
- There might be more bugs. I haven't tested it enough yet.
2012-07-25 00:01:29 +09:00
gocha
1c74de400d
adjust input display position since it covers frame counter display
2012-07-24 19:54:03 +09:00
gocha
b483a4bb52
Merge branch 'master' of https://github.com/snes9xgit/snes9x
2012-07-22 23:41:34 +09:00
gocha
e180b02948
fix "not a movie snapshot" everytime bug
2012-07-22 15:15:24 +02:00
OV2
cf57ad3d5d
win32: also show half-width katakana in rom info dialog
2012-07-22 15:10:58 +02:00
gocha
5d6d3af4a9
win32: Unicode - fix Custom ROM dialog to show half-width katakana
2012-07-22 14:57:35 +02:00
gocha
e4bf711227
win32: fix newly introduced bug of S9xBasename. I guess it could provide a wrong result when it processes a string which has both slash and backslash.
2012-07-22 14:15:24 +02:00
gocha
a91dfcb39b
win32: improve DBCS processing in S9xBasename. This one should process S9xBasename("C:\roms\ソウルブレイダー.smc") correctly.
2012-07-22 14:14:59 +02:00
gocha
b4e78e3d2c
win32: fix Cheat Search not to add the same cheat twice.
...
win32: RAM Search can add multi-byte cheat from now.
2012-07-22 13:51:36 +02:00
gocha
9c483d87a4
fix "not a movie snapshot" everytime bug
2012-07-22 19:28:25 +09:00
gocha
c1656a96cd
win32: fix newly introduced bug of S9xBasename. I guess it could provide a wrong result when it processes a string which has both slash and backslash.
2012-07-22 09:21:12 +09:00
gocha
bcc4ace34d
Merge branch 'master' of https://github.com/snes9xgit/snes9x
2012-07-21 15:22:16 +09:00
gocha
147512c112
win32: fix RAM Autosearch function which has been broken by the last commit.
2012-07-21 11:56:28 +09:00
gocha
5709da8085
win32: add asynchronous update logic for GUI and memory view windows (excludes traditional Cheat Search). It works during pause.
2012-07-21 10:22:28 +09:00
Brandon Wright
0a6e869d33
Fix compiling on Gentoo Linux due to use of non-public API.
2012-07-19 22:21:31 -05:00
gocha
71d62b26ea
win32: fix too short ramwatch recent list
2012-07-17 22:52:38 +09:00
gocha
3e0d47a2cb
win32: add memory viewer (built-in hex editor)
...
Note:
- write to APU hardware register doesn't work properly.
2012-07-17 22:51:46 +09:00
gocha
a1a3cfc986
win32: fix Cheat Search not to add the same cheat twice.
...
win32: RAM Search can add multi-byte cheat from now.
2012-07-16 20:03:47 +09:00
gocha
4f05725566
CRLF => LF
2012-07-16 19:07:26 +09:00
gocha
612369f106
win32: improve DBCS processing in S9xBasename. This one should process S9xBasename("C:\roms\ソウルブレイダー.smc") correctly.
2012-07-16 19:03:49 +09:00
gocha
484b58e624
win32: Unicode build - change charset of wch (ramwatch) from UTF-16 to UTF-8
2012-07-16 15:57:07 +09:00
gocha
2e11f01971
win32: add tasvideos ramwatch & ramsearch tools.
...
Note:
- Traditional Cheat Search has been removed from the menu, but its implementation still remains in the source code, to make importing the changes in snes9xgit to snes9x-rr easier.
- It can be compiled in x64 Unicode. At the moment, Unicode version exports wch file in UTF-16 (without BOM). I will probably change the charset to UTF-8 or something 8-bit friendly code for better compatibility.
- LVN_GETDISPINFO handlers of both ramwatch and ramsearch are modified, since it apparently was harmful and caused a crash with Unicode version. Probbably, this change is applicable to all tasvideos emulators.
2012-07-16 13:35:57 +09:00
gocha
7f5878af6a
win32: CR+LF -> LF conversion for .sln, otherwise VS2008 apparently cannot open directly from explorer.
2012-07-14 20:15:50 +09:00
gocha
604dd81da0
Fix include path for release build.
2012-07-08 14:13:17 +09:00
gocha
e13a6efc9e
Merge branch 'master' of https://github.com/snes9xgit/snes9x
...
Conflicts:
win32/wsnes9x.cpp
2012-07-08 13:01:36 +09:00
Brandon Wright
44c007bf42
Merge branch 'master' of github.com:snes9xgit/snes9x
2012-07-03 15:23:23 -05:00
Brandon Wright
03caf3f4ae
Fix appearance bugs with preferences dialog UI on GTK+ 3.
2012-07-03 15:20:35 -05:00
OV2
86b78aec55
libretro: report correct height if overscan is enabled
2012-06-04 23:13:21 +02:00
OV2
a08f4fb531
Reroll IRQ edge case fix
2012-06-04 21:31:27 +02:00
OV2
679db377c7
libretro: disable oops snapshots
2012-06-04 19:03:07 +02:00
OV2
0c74e2c437
Fix IRQ edge cases
2012-06-03 00:41:10 +02:00